1. 程式人生 > >【轉載】Centos7.3安裝和配置Mysql5.7

【轉載】Centos7.3安裝和配置Mysql5.7

Linux安裝mysql

aliyun安裝mysql

https://blog.csdn.net/qq_35393693/article/details/79994097

 

遇到問題向下看

 

(第七步:設定允許遠端登入

Mysql預設不允許遠端登入,我們需要設定下,並且防火牆開放3306埠;)

下面是第七步,一定要注意中英文標點

ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY '密碼';
#記得提交
FLUSH PRIVILEGES;

上面這步有點問題

(1251- Client does not support authentication protocol requested by server; consider upgrading MysQL client)解決:

https://blog.csdn.net/qq_40374604/article/details/84962453