When mysql 1130 is remotely connected through Navicat for MySQL, an error is returned.

Source: Internet
Author: User


When mysql 1130 is remotely connected through Navicat for MySQL, the ERROR code is 1130, ERROR 1130: Host xxx. xxx. xxx. xxx is not allowed to connect to this MySQL server is unable to give remote connection to the user permission problem www.2cto.com to authorize the user I use the user is the root password 123456 preferred syntax is: SQL code GRANT ALL PRIVILEGES ON *. * TO 'myuser' @ '%' identified by 'mypassword' with grant option; example: SQL code GRANT ALL PRIVILEGES ON *. * TO 'root' @ '%' identified by '000000' with grant option; after www.2cto.com is executed, mysql: flush privileges; refresh the permission, you do not need to restart the entire operation: Start-> Run-> cmd cd \ cd mysql installation directory \ bin mysql-u root-p123456; mysql grant all privileges on *. * TO 'root' @ '%' identified by '000000' with grant option; mysql flush privileges; Author: heisetoufa

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.