MySQL ERROR 1130:host is not allowed to connect to this MySQL server

Source: Internet
Author: User

Installing MySQL today encounters MySQL ERROR 1130:host is not allowed to connect to this MySQL server,

Tried a lot of ways.

Skip-grant-tables placed in My.ini [mysqld]

1. Change the login of any host

mysql> use MySQL;

mysql> Update user Set host = '% ' where user = ' root ' and host= ' localhost ';

2. Update permissions

Mysql> GRANT all privileges on * * to ' root ' @'% ' identified by ' 123456 ' C23>with GRANT OPTION;

Encountered error 1133:can ' t finde any matching row in the user table

Always be unable to use, and finally analyze the installation with a hint that a remote connection error may cause a user table error, remove all users, add a new administrator to resolve the issue.

MySQL ERROR 1130:host is not allowed to connect to this MySQL server

Related Article

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.