Problem Description
Centos on Ali cloud has deployed MySQL, and have configured the security rules, but when used navicatMySQL, the situation in the following figure appears
Solution:
1, Ali cloud configuration rules again, no problem found
2, log centos system, the following steps (typically enable direct copying, except password)
mysql -u root -p use mysql;
select 'host' from user where user='root';
updata user set host='%' where user='root';
flush privileges;
select 'host' from user where user = 'root';
3, the re-test