Mysql設定檔已經修改了預設加密方式還是提示2054錯誤:
[mysql]
default-character-set=utf8
#[mysqld]
port = 3306
#default_authentication_plugin=mysql_native_password
#basedir="D:/soft/phptoolbox/COM/../Extensions /MySQL/"
datadir="D:/soft/phptoolbox/COM/../Extensions/MySQL/data/"
character-set-server = utf8
default-storage-engine = MyISAM
修改後,重啟mysql
進入Mysql控制台,修改加密方式;參考:https://blog.csdn.net/yi247630676/article/details/80352655 文章