小镇拾光:
当mysql版本为:8.4.0 LTS时,需要进行如下几处更改:
1.my.ini改名为:my-default.ini
2.my-default.ini中的第20行插件认证改为:default_authentication_plugin=caching_sha2_password
3.设定root密码时:alter user 'root'@'localhost' identified with caching_sha2_password by '新密码';
小镇拾光:
当mysql版本为:8.4.0 LTS时,需要进行如下几处更改:
1.my.ini改名为:my-default.ini
2.my-default.ini中的第20行插件认证改为:default_authentication_plugin=caching_sha2_password
3.设定root密码时:alter user 'root'@'localhost' identified with caching_sha2_password by '新密码';