Mysql configuration file has modified the default encryption method and still prompts 2054 error:
[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
After modification, restart mysql
Enter the Mysql console and modify the encryption method; reference: https://blog.csdn.net/yi247630676/article/details/80352655 Article