If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Problem caused by server upgrade to MySQL 5.1

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-07-12, 07:19
sandinista sandinista is offline
Registered User
 
Join Date: Jan 2012
Posts: 2
Problem caused by server upgrade to MySQL 5.1

Hi, I am desperately hoping someone could maybe help with a problem. I have a client who's website will not load due to the hosting server being upgraded to MySQL5.1.

Error message is....

DB Error: connect faileddb_error Object
(
[error_message_prefix] =>
[error_prepend] =>
[error_append] =>
[mode] => 16
[level] => 1024
[code] => -24
[message] => DB Error: connect failed
[debuginfo] =>
[userinfo] => [nativecode=Client does not support authentication protocol requested by server; consider upgrading MySQL client]
[callback] => errhndl
)

Technical support have advised

Quote:
The server your client is hosted on was recently upgraded to MySQL 5.1. This version removes support for some old authentication methods.

My expectation is that your client will need to either upgrade the MySQL application he is using, or configure the existing version to use an alternate method to connect to the MySQL database.
Does anyone know if there is a way round this problem. I have tried to be brief so I hope it all makes sense. Also I should say I am a total novice when it comes to coding etc.

Many thanks

Jim
Reply With Quote
  #2 (permalink)  
Old 01-07-12, 09:01
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,525
so not only the errror message itself, but also the tech support people have advised you to upgrade your application code

if you can't do this, you'll need to hire someone (hint: that's not me)
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #3 (permalink)  
Old 01-07-12, 09:50
healdem healdem is online now
Jaded Developer
 
Join Date: Nov 2004
Location: out on a limb
Posts: 9,250
make ceetain the web server is using the correct library. that may well require a rebuild of the server and or wahtever web server scripting language you are using
__________________
I'd rather be riding my Versys or my Tiger 800 let alone the Norton
Reply With Quote
  #4 (permalink)  
Old 01-07-12, 09:56
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,525
healdem, wouldn't rebuilding the server (after the upgrade to 5.1) have been the responsibility of the web host's tech support staff?
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #5 (permalink)  
Old 01-07-12, 11:25
healdem healdem is online now
Jaded Developer
 
Join Date: Nov 2004
Location: out on a limb
Posts: 9,250
should have been,assuming the server is managed by the ISP. but if its managed by the OP it could well be his responsibility.
it could be that the ISP haven't fully migrated the update through all their servers but in the absence of knowing what the set up (ie is it a webserver, is it a remote hosted db its hard to say. we don't know what application software is being used to access the server.. ot could be the end user needs to update their application).
__________________
I'd rather be riding my Versys or my Tiger 800 let alone the Norton
Reply With Quote
  #6 (permalink)  
Old 01-09-12, 16:13
sandinista sandinista is offline
Registered User
 
Join Date: Jan 2012
Posts: 2
Thanks for your replies, managed to sort it out with the help of a friend who knows about these things.

It was as simple as setting the PHP configuration to process the .php file extension by "default" in the users CPanel. It was set to be processed by PHP4

Thanks again

Jim
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On