Solved

Client does not support authentication protocol requested by server; consider upgrading MySQL client

Posted on 2009-05-16
5
445 Views
Last Modified: 2013-12-13
Hello Experts,

I am trying to connect to the MySQL 4.1 database from the PHP file on the windows live web server .

Google search suggesting to upgrade all the MySql clients and reset the password.

What is MySql Client? I have created the database using the hosting control panel.

Please can someone advise?

Thanks
S
0
Comment
Question by:newbie27
  • 3
  • 2
5 Comments
 
LVL 2

Assisted Solution

by:Tosko
Tosko earned 100 total points
ID: 24404286
Hi there,
You are using an old MySQL version ( v 4.1 ). while the latest version is 5.4. The new version supports new commands and a lot of bugs/errors are fixed in the new version.
Try contacting your webhost and see if they are willing to upgrade the MySQL version.
Kind regards,
Tosko
0
 
LVL 8

Author Comment

by:newbie27
ID: 24404375
Hi Tosko

Thanks for your input, as suggested I have created a new database with version 5.0. I am still getting the same error.

All I am trying to do is setup osCommerce on the live webserver which is hosted on windows. Do you think its anything to do with the server incompatibility?

Please advise

Thanks
sam



There was a problem connecting to the database server. The following error had occured:
 

Client does not support authentication protocol requested by server; consider upgrading MySQL client
 

Please verify the connection parameters and try again.

Open in new window

0
 
LVL 2

Expert Comment

by:Tosko
ID: 24404391
Oh I know what the problem is. MySQL >= 4.1 uses a new format for the password which is a longer hash. Which causes old clients to fail at working properly.
Check this out: Click here
0
 
LVL 8

Author Comment

by:newbie27
ID: 24404420
Howerver, I am trying now to version 5.0, I have created a complete new database and setup a username and password so this should not give me this error right?

also, i am getting the following error when i try to run the update command

UPDATE command denied to user 'dda'@'72xxxx233.37' for table 'user'

please advise
thanks
0
 
LVL 8

Accepted Solution

by:
newbie27 earned 0 total points
ID: 24451279
The problem was the site was sitting on widows box ... it has now been moved to the linux ...

so its working all ok now !

thanks for the input anyway...

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL (http://www.experts-exchange.com/articles/201/Handling-Date-and-Time-in-PHP-and-MySQL.html) several years ago, it seemed like now was a good time to updat…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now