MariaDB won't start when character-set-server = latin1 is in my.cnf

馋奶兔 提交于 2019-12-24 22:39:21

问题


I am migrating a database from MySQL to MariaDB and replicating the main settings along the way. After debugging every line, I located the part that stalls the MariaDB server:

character-set-server = latin1

MariaDB documentation says the default server and system encoding is latin1 unless otherwise specified, but show variables like '%char%' shows utf8mb4 is used.

I also tried server_collation = latin1_general_ci, which also stalls the server but at least the error message is logged, whereas with character-set-server, it's traceless.

Also before flagging this question as a duplicate, I actually want to set to latin1, not utf8. Other questions are about setting to utf8, which I can already do.

Thanks!

来源:https://stackoverflow.com/questions/58923143/mariadb-wont-start-when-character-set-server-latin1-is-in-my-cnf

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!