Navicat Encounter 1130 errors what to do with

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.