mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client.

If PHP scripts using mysql shows the error message “mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client”

 Edit /etc/my.cnf and add the line ‘old_passwords’ and restart mysql service 

Leave a Comment