Client does not support authentication protocol requested by server

If you have a mysql authentication issues related to the error below you can take the following steps to resolve this problem.
Error: Client does not support authentication protocol requested by server; consider upgrading MySql client. old_password related errors.

Solution:

This server may be running mysql 5 and has created the user with an older version of phpmyadmin not compatible with authentication protocol in mysql5.
1 . Update the user table for the already created user with old_password method using the command below.

update mysql.user set password=old_password('users_passwd') where User='user_name';
2. Additional steps may be required
- comment out old_passwords from my.cnf
- restart mysql, update the root user password
- enable old_passwords back
- restart mysql

 

  • mysql, authentication, problem, Solution
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

 Connect to mysql server under docker

You can use below command to connect to a mysql dockerized version: mysql -u root -h 127.0.0.1...

 Database with latin1 content but over a utf8 connection

It is often the case where you want to migrate to a new server.The new server may be configured...

 Host is not allowed to connect to this MariaDB server

The error "Host is not allowed to connect to this MariaDB server" usually points to a remote...

 ibdata reduce size

Step 01) MySQLDump all databases into a SQL text file (call it SQLData.sql) Step 02) Drop all...

 Incorrect table definition; there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT or ON UPDATE clause

If you receive this error below when you try to import an sql into your database: Incorrect...