1130 - Host ‘‘ is not allowed to connect to this MySQL server

Remote connection to other people's database prompts 1130 - Host '' is not allowed to connect to this MySQL server.

reason

This problem occurs because the database of the linked person only allows local connection access, and the user table in the mysql database in the database server does not have permissions.

The problem can be solved by performing the following operations on the user table of the local mysql database of the linked person . Let’s go straight to the answer without further ado.

 

Select the corresponding library and table in the figure to open the default image as shown below:

Copy the first line and paste it, then change the localhost in the host column of the copied line to % and leave the others unchanged, as shown below:

Just restart the service.

Guess you like

Origin blog.csdn.net/qq_50158494/article/details/133017477