2058 error when MySQL connects to SQLyog

The default password is root
to solve the problem that sqlyong cannot connect to mysql:

cd C:\Program Files\MySQL\MySQL Server 8.0\bin

mysql -u root -p

ALTER USER ‘root’@‘localhost’ IDENTIFIED WITH mysql_native_password BY ‘root’;

Related Posts