Solved

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

Posted on 2009-05-16
5
465 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Read a remote csv file from a https URL 8 49
php help 34 58
PHP and MSSQL Arrays and Variables 3 25
Change static entered data to dynamic with counter 5 13
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.
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
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…

820 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