Error 2058 when Sqlyog connects to Mysql

reason:

 The mysql password encryption method has changed.

Solution: log in to mysql -u root -p in cmd under windows, log in to your mysql database, and then execute this SQL:

 ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';

#password is the root password you set yourself

Then reconfigure the connection of SQLyog, you can connect successfully, OK. 

Related Posts