MySQL remote connection error: 1130

reason:

solution:

Enable cmd to log in to mysql and execute the following commands in sequence:

        use mysql;
        select 'host' from user where user='root';
        update user set host = '%' where user ='root';
        flush privileges;

The result is as follows:

 Just reconnect.

Guess you like

Origin blog.csdn.net/rice2020/article/details/123030613
Recommended