mysql-5.7.28-extracting version installed successfully use navcat for mysql not connect

Clear what the theme is installed successfully use navcat for mysql not connect in mysql-5.7.28-extracting version.

1. In the configuration file my.ini [mysqld] any line items increased skip-grant-tables

 

2. Log mysql

3.use mysql;

4.update user set host='%' where user='root';

4. Changing the root password update user set authentication_string = password ( '123456') where user = 'root';

5.flush   privileges;

6. The skip-grant-tables in the deleted items my.ini and then restart the mysql service can log the test under cmd, you can log in if you need to pay attention to whether the firewall let go of the 3306 port.

7. The focus here! ! ! navcat saved before the link deleted! Deleted! Deleted! Then create a link, link success!

ps: Why not screenshot, because I forgot screenshot

Guess you like

Origin www.cnblogs.com/aiyaya/p/11802749.html