1.root 給與%權限
2.grant all privileges on *.* to 'root'@'%' identified by 密碼 by grant option;
3.flush privileges;
4.開防火牆的3306端口;
5.如果是雲服務器,在阿里雲或騰訊雲中的安全組策略中,“入方向”添加3306端口規則;
1.root 給與%權限
2.grant all privileges on *.* to 'root'@'%' identified by 密碼 by grant option;
3.flush privileges;
4.開防火牆的3306端口;
5.如果是雲服務器,在阿里雲或騰訊雲中的安全組策略中,“入方向”添加3306端口規則;