When connecting to a remote MySQL database with Navicat , "Navicat for MySQL 1130 error" sometimes appears, prompting the error content to not allow the MySQL service to be connected. Many people think it is the firewall in the mischief, in fact, shut down the firewall still can not solve the problem, this tutorial will introduce you to the Navicat for MySQL 1130 error resolution.
Navicat for MySQL 1130 error
Problem Description:
1130-host ' localhost ' isn't allowed to connect to this MySQL server
Cause Analysis:
MySQL has only one root user, after the root password has been modified, the MD5 is selected, and the login will appear after the host ' localhost ' is not allowed-to connect-to-this MySQL server "error prompt.
Workaround:
Edit My.ini
Add a sentence to the paragraph in [mysqld]: Skip-grant-tables
Example: Java code
[Mysqld]
Datadir=/var/lib/mysql
Socket=/var/lib/mysql/mysql.sock
Skip-name-resolve
Skip-grant-tables
This allows you to skip the MySQL access control and anyone can enter the MySQL database as an administrator in the console.
It is important to note that after the password is modified, the MySQL server must be stopped for a reboot to take effect.
Modify by means of Rights management:
If you are using phpMyAdmin, you can login to phpMyAdmin, and then enter in the rights management, here will see all the users, find the root user click on the changes, and then change the domain to "%" number. It is important to note that you must be a root user to log in, otherwise it cannot be modified.
This article is from: http://www.formysql.com/wenti/cuowu-1130.html
Navicat Encounter 1130 errors what to do with