參考:https://blog.csdn.net/LB_AUTO/article/details/106041858#MySQL_2
版本做了改變
- VERSION:8.4.2
安裝後首次更改密碼不成功原因:https://www.tubring.cn/articles/fix-php-mysql-84-mysql_native_password-not-loaded
alter user 'root'@'localhost' identified by '123456';
參考:https://blog.csdn.net/LB_AUTO/article/details/106041858#MySQL_2
安裝後首次更改密碼不成功原因:https://www.tubring.cn/articles/fix-php-mysql-84-mysql_native_password-not-loaded
alter user 'root'@'localhost' identified by '123456';