I'll try;):
I am running this testserver with centos-3.4
I have these mysql rpms:
MySQL-server-4.1.11-0
MySQL-client-4.1.11-0
MySQL-shared-compat-4.1.11-0
php:
php-imap-4.3.11-6.rhel3.art
php-odbc-4.3.11-6.rhel3.art
php-pgsql-4.3.11-6.rhel3.art
php-4.3.11-6.rhel3.art
php-mysql-4.3.11-6.rhel3.art
php-pear-4.3.11-6.rhel3.art
And I am running the plesk-7.5.3 beta1.
First I add a new db i plesk cp. Then I create a new user in the cp, and when I go into mysql db and check what it has stored on this user I get this:
localhost | user | *3055544BD641D0814B910C4ACA5799F51B80F460
But, when I try to connect to this db using this user, I get this error:
Client does not support authentication protocol requested by server; consider upgrading MySQL client
In my php-script I use this to connect:
$db=mysql_connect(localhost,$UserName,$Password) or die ("cant connect");
mysql_select_db("$Database") or die ("cant select db");
After searching at google, I found many places where they told us to run this:
set password for user@localhost = OLD_PASSWORD('password');
When I do that, it works.. and when I see what is stored in mysql, I get this:
localhost | user | 025a65095c7d62ed
You can see the password is stored in a quite "different way".. not sure how to explain it..but I guess you know what I'm talking about
