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

MySQL – ERROR 1130: Host is not allowed to connect to this MySQL server.

I got this error when one of my client machine were accessing MySQL Server.
By default, MySQL does not allow remote client to connect the MySQL database server.

If you want to allow your client to access your mysql database server, you should give access permission to that IP-Address of the client.

If you want to give permission for 10.0.0.12 ip address, please execute below command.

If you want to allow user from any network, you should perform the below steps.

Change MySQL config file:

Comment following lines:

If skip-networking line is not present, you can add it and comment it.

Restart MySQL Server:

Login in MySQL and change the grant privileges:

Please also make sure that port 3306 is open on the server which is default port of MySQL Database Server.

Anvesh Patel

Leave a Reply

3 Comments on "MySQL: ERROR 1130: Host is not allowed to connect to this MySQL server"

Notify of
avatar
Sort by:   newest | oldest | most voted
julis
Guest

Hello, yup this piece of writing is genuinely pleasant and I
have learned lot of things from it regarding blogging.
thanks.

Ami
Guest

I’m still learning from you, but I’m improving myself. I definitely liked reading everything that is posted on your website.Keep the information coming. I loved it!

Falve
Guest

I was studying some of your blog posts on this site and I believe this web site is rattling informative ! Keep putting up.

wpDiscuz