|If you get this error when trying to connect to mysql through php, it means that php was compiled with a client verison older than the version of the mysql server you're running.|
#1251 - Client does not support authentication protocol requested by server; consider upgrading MySQL clientBasically, it doesn't know the new language to be able to talk with the server, so it denied access.
You can check to see what version is compiled into php by creating an file called:
in it, place the following code:
<? phpinfo(); ?>Then view this file from your server IP:
Scroll down to the mysql section, and view the "MySQL Client" portion. It will tell you what version is compiled into php. The version (if correct) will match the version of mysql you're running.
If it doesn't match, php must be recompiled with the current version of mysql.
1) First ensure you have the require rpms:
[root@server ~]# rpm -qa | grep MySQL
2) Then ensure that your php configuration is correct.
[root@server root]# cd /usr/local/directadmin/customapache
|Updating and Compiling Apache and PHP|
|How to setup phpMyAdmin to use cookie authentication|
© 2018 JBMC Software, Suite 173 3-11 Bellerose Drive, St Albert, AB T8N 1P7 Canada. Mon-Fri 9AM-5PM MST