Connect to MySQL error


I got this error in mysql piece:

“ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client”

Does it mean that mysql version is not supported?
version: libmysql - mysqlnd 8.2.20



1 Like

Same here, my MySQL Version is 8.0.36 :cold_sweat:

I finally fix this issue by log into mysql server using root and then type the following command:

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

Where root as your user localhost as your URL and password as your password

Hope this help.