新手發問,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 , 輸入帳號後,還是無法登入。錯誤訊息一樣。