Local tool to solve the problem can not connect on mysql server

When local tool attempts to connect to the server, if the situation can not connect appears, it might not have permission to be open.

First of all:

mysql> show  databases;

Mysql database found

Access to the database to find the user table

mysql>show tables

mysql>update user set Host = '%' where User='root';

 

Guess you like

Origin www.cnblogs.com/phdeblog/p/11442173.html