This error occurs if you want to connect to your MySQL: ERROR 1130:host ' 192.168.1.81 ' isn't allowed to connect to this MySQL server Workaround: 1. Change the table method. It may be that your account is not allowed to log on remotely, only on localhost. This time, as long as the computer on the localhost, log in to MySQL, change the "MySQL" Database in the "User" table "host", from "localhost" to "%" Mysql-U root-Pvmware Mysql>use MySQL mysql>update User Set host = ' mysql>select host, user from user; [/pre] 2. Authorization law. For example, if you want to myuser use MyPassword to connect to a MySQL server from any host.
GRANTAllPrivilegesOn*.*To myuser< Span style= "color: #ff0000; Line-height:normal; " > ' if you want to allow users to connect to the MySQL server from a host myuser IP 192.168.1.81 and use MyPassword as the password GRANTAllPrivilegesOn*.*To myuser< Span style= "color: #ff0000; Line-height:normal; " > ' I'm using the first method. Remember to restart the MYSQLD service after the change. Oh or enter the flush privileges at the MySQL command line ; then use the Navicat to change the user table under the MySQL library under the localhost set to the same as *. |
Source: http://blog.sina.com.cn/s/blog_84485e540101178p.html
About Navicat remote connection mysql problem