mirror of
https://github.com/MariaDB/server.git
synced 2025-01-15 19:42:28 +01:00
Fixing mariadb-install-db.exe failure on Windows (Illegal mix of collations)
This commit is contained in:
parent
283b9285c3
commit
18edb0959f
5 changed files with 9 additions and 1 deletions
|
@ -22,7 +22,7 @@
|
|||
|
||||
-- mysql -u root -p mysql < file_name
|
||||
|
||||
set names 'utf8';
|
||||
SET NAMES utf8mb3 COLLATE utf8mb3_general_ci;
|
||||
|
||||
set sql_log_bin = 0;
|
||||
|
||||
|
|
|
@ -9,6 +9,8 @@
|
|||
-- performance schema engine.
|
||||
--
|
||||
|
||||
SET NAMES latin1 COLLATE latin1_swedish_ci;
|
||||
|
||||
set @have_old_pfs= (select count(*) from information_schema.schemata where schema_name='performance_schema');
|
||||
|
||||
SET @cmd="SET @broken_tables = (select count(*) from information_schema.tables where engine != 'PERFORMANCE_SCHEMA' and table_schema='performance_schema')";
|
||||
|
|
|
@ -18,6 +18,8 @@
|
|||
-- The system tables of MySQL Server
|
||||
--
|
||||
|
||||
SET NAMES latin1 COLLATE latin1_swedish_ci;
|
||||
|
||||
set sql_mode='';
|
||||
|
||||
set @orig_storage_engine=@@default_storage_engine;
|
||||
|
|
|
@ -17,6 +17,8 @@
|
|||
-- The initial data for system tables of MySQL Server
|
||||
--
|
||||
|
||||
SET NAMES latin1 COLLATE latin1_swedish_ci;
|
||||
|
||||
-- When setting up a "cross bootstrap" database (e.g., creating data on a Unix
|
||||
-- host which will later be included in a Windows zip file), any lines
|
||||
-- containing "@current_hostname" are filtered out by mysql_install_db.
|
||||
|
|
|
@ -13,6 +13,8 @@
|
|||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
SET NAMES latin1 COLLATE latin1_swedish_ci;
|
||||
|
||||
CREATE DATABASE IF NOT EXISTS test CHARACTER SET latin1 COLLATE latin1_swedish_ci;
|
||||
|
||||
--- Fill "db" table with default grants for anyone to
|
||||
|
|
Loading…
Reference in a new issue