楼主:
linlinna (linnchirc)
2019-02-24 09:33:09新手发问,mac系统,请教大大
连线phpMyAdmin,输入帐号的错误讯息如下:
mysqli_real_connect(): Server sent charset (255) unknown to the client. Please, report to the developers
mysqli_real_connect(): (HY000/2054): Server sent charset unknown to the client. Please, report to the developers
创建/etc/my.cnf,内容如下
[client]
default-character-set=utf8
[mysql]
default-character-set=utf8
[mysqld]
collation-server = utf8_unicode_ci
init-connect='SET NAMES utf8'
character-set-server = utf8
重启动mysql , 输入帐号后,还是无法登入。错误讯息一样。