PDA

View Full Version : PHP's mysql_connect () user/password issues


muroc
Wed 17th Mar '04, 2:45pm
After having installed MYSQL 4.1.1a and PHP4 with Apache 1.3, all on XP, for some reason, when I use mysql_connect () in my PHP scripts, it gives me the following error:

Warning: mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client in "the file path directory of the script page"

I have the following PHP code:

$ser1 = mysql_connect ($host, $user, $pass);
mysql_select_db ("test",$ser1);
$myresult = mysql_query("SELECT * FROM musa",$server);
printf("................"));
mysql_close($ser1);

Zachery
Wed 17th Mar '04, 2:54pm
Muroc

You are currently showing up as unlicensed. To be able to receive support here at vBulletin.com, we ask you to please click HERE (http://www.vbulletin.com/members/forums.php) and enter your email address, to show us that you are licensed.
You will need to use your customer number and password (which will be in the email you got when you paid for your license) to access that page. Please note that your email is case sensitive.

Thank you.

muroc
Wed 17th Mar '04, 4:34pm
How do I go about that? I did click on the HERE (http://www.vbulletin.com/members/forums.php) link and seems to get denied for the correct username and password... I try to register/activate and get the following:
Your account has already been activated so please try logging in.

Muroc

You are currently showing up as unlicensed. To be able to receive support here at vBulletin.com, we ask you to please click HERE (http://www.vbulletin.com/members/forums.php) and enter your email address, to show us that you are licensed.
You will need to use your customer number and password (which will be in the email you got when you paid for your license) to access that page. Please note that your email is case sensitive.

Thank you.