navicat telnet windows server

-u root MySQL - P # Log Database   
MySQL > use MySQL;   
MySQL > Update User SET host = ' % '  WHERE User = ' root ' ; # host to the user's root%   
MySQL > the flush privileges;   
MySQL > SELECT host, the User from the User; # View the root host is not successfully be modified to become%

Modify the user password, the new password and the old password can be consistent

The USER the ALTER ' root ' @ ' % ' IDENTIFIED BY the WITH mysql_native_password ' newpassword ' ; # update about the user's password for the root user password to newpassword

 

Guess you like

Origin www.cnblogs.com/weihu/p/11775833.html