Solved

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

Posted on 2009-05-16
5
480 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

636 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