Error No. 1130
Host '192.168.0.14' is not allowed to connect to this MySQL server
Host '192.168.0.14' is not allowed to connect to this MySQL server
原因分析:
这是由于mysql服务端root用户所对应的客户端权限设置问题。默认所对应的客户端地址只有localhost(也就是服务端的机器),所以要增加相应的地址。此处,我们增加任何地址都可以访问mysql服务端的root用户。
找了很多地方,最后还是这样解决的。分享一下:
解决办法:
# mysql
mysql> grant all privileges on *.* to 'root'@'%' identified by '123456';
mysql> flush privileges;
mysql> exit
找了很多地方,最后还是这样解决的。分享一下:
解决办法: