1.CentOS7安装MySQL
2.Navicat连接远程数据库
报错:Host 'xxx' is not allowed to connect to this MySQL server.
解决:
update user set host = '%' where user = 'root';
使用以上两个步骤,安装MySQL成功,并使用Navicat成功连上远程数据库。
update user set host = '%' where user = 'root';