Commit 18edb095 authored by Alexander Barkov's avatar Alexander Barkov

Fixing mariadb-install-db.exe failure on Windows (Illegal mix of collations)

parent 283b9285
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment