问题
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