Jump to content

Can't get php to work connect to mysql 4.1 properly


twilightnights

Recommended Posts

I am using the exact same syntax as my 4.0 databases that work and everytime i get this error message

 

"Could not connect: Client does not support authentication protocol requested by server; consider upgrading MySQL client"

 

which I am assuming there is something wrong with the php code.. how do I fix it..

 

mysql_connect('x,'x','x') or die('Could not connect: ' . mysql_error());
mysql_select_db('x');

Thanks but I don't know how to access that.. I use go daddy hosting and they have the php and mysql set up for me, so I don't know how to edit the global settings or whatever.

 

I settled with migrating the entire database to a 4.0 but I would really like to know how to fix it in phpadmin if it's possible

  • 2 weeks later...

I am having this exact same problem (I use godaddy as well) and the error for the connection comes out as:

 

"Could not connect: Client does not support authentication protocol requested by server; consider upgrading MySQL client"

 

 

You can just run OLD_PASSWORD() on the existing password in the users table, provided you have access to it.

I am new to using both PHP and MySQL (a couple weeks), can someone please explain how I can do this in more detail? or even better if twilightnights found a solution, could you tell me how you solved it? thanks

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.