mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-19123 Change default charset from latin1 to utf8mb4
Changing the default server character set from latin1 to utf8mb4.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
ALTER DATABASE test CHARACTER SET latin1 COLLATE latin1_swedish_ci;
|
||||
SET @save_enabled= @@GLOBAL.innodb_cmp_per_index_enabled;
|
||||
SET GLOBAL innodb_cmp_per_index_enabled=ON;
|
||||
SELECT * FROM information_schema.innodb_cmp_per_index;
|
||||
@@ -71,3 +72,4 @@ compress_ops_ok 64
|
||||
uncompress_ops 0
|
||||
DROP TABLE t;
|
||||
SET GLOBAL innodb_cmp_per_index_enabled=@save_enabled;
|
||||
ALTER DATABASE test CHARACTER SET utf8mb4 COLLATE utf8mb4_uca1400_ai_ci;
|
||||
|
Reference in New Issue
Block a user