更改 phpmyadmin 中的默认排序规则

2022-01-05 00:00:00 mysql phpmyadmin

在我看来,phpMyAdmin 默认使用排序规则 latin1_swedish_ci 导入表,我该如何更改?

It seems to me that phpMyAdmin imports tables by default with collation latin1_swedish_ci, how i change this?

推荐答案

在您的 Mysql 配置中,更改 [mysqld] 选项卡下的默认字符集操作.例如:

In your Mysql configuration change the default-character-set operative under the [mysqld] tab. For example:

[mysqld]
default-character-set=utf8

之后不要忘记重新启动 Mysql 服务器以使更改生效.

Don't forget to restart your Mysql server afterwards for the changes to take effect.

相关文章