close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

MySQL Connection Difficulties - Help

Thread began 8/05/2009 7:17 pm by wdj363287 | Last modified 8/07/2009 6:04 pm by Eric Mittman | 1670 views | 3 replies |

wdj363287

MySQL Connection Difficulties - Help

If you go to the link below,

index.php

We are getting the error below,

Warning: mysql_pconnect() [function.mysql-pconnect]: Client does not support authentication protocol requested by server; consider upgrading MySQL client in /home/theowl/public_html/TheOwlShop/Connections/localhost.php on line 9

Fatal error: Client does not support authentication protocol requested by server; consider upgrading MySQL client in /home/theowl/public_html/TheOwlShop/Connections/localhost.php on line 9


Below is the current localhost.php page information


<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_localhost = "localhost";
$database_localhost = "theowl_oakridge";
$username_localhost = "theowl_billj";
$password_localhost = "*family01";
$localhost = mysql_pconnect($hostname_localhost, $username_localhost, $password_localhost) or trigger_error(mysql_error(),E_USER_ERROR);
?>

Below is the current global information for the database:

<?php
$WAGLOBAL_Root_URL = "http://theowlclub.org/" ;
$WAGLOBAL_Site_Name = "The Owl Shop" ;
$WAGLOBAL_Address = "5900 West Pioneer Parkway";
$WAGLOBAL_City = "Arlington";
$WAGLOBAL_State = "TX";
$WAGLOBAL_Zip = "76013";
$WAGLOBAL_Country = "US";
$WAGLOBAL_GoogleAPIKey = "ABQIAAAAXafbUiGiRYj0bogExLhVCRT2yXp_ZAY8_ufC3CFXhHIE1NvwkxT5czkOfeMRZCjwJ7_QG4gFmJ1OGQ";
$WAGLOBAL_localRoot = "/";
$WAGLOBAL_remoteRoot = "/";


Please help, we are confused as to how to correct the issue.

Sign in to reply to this post

Eric Mittman

It has been a while since I have seen this error, I'm not sure that I have ever encountered it on a Linux type OS. Basically the reason you are getting this error is due to the password hashing algorithm that is used by the newer version of MySQL, it is not compatible with the version that was used when your server was setup.

This is something that I think your host would have to control since the fix is to either update the library files to the newer ones, or adjust your db users password to use the old hashing technique. Here is a link to the MySQL page that details this:

old-client.html

Sign in to reply to this post

wdj363287

MySQL Connection Difficulties - Help

Eric, thank you for your reply, I checked our Linux server and we have the versions below. Any other ideas?

PHP version 4.4.4
MySQL version 4.1.22-standard

Sign in to reply to this post

Eric Mittman

The version of MySQL you are running should already be handling this with the newer files. Since the version is so close though it may indicate that there was not a complete upgrade of the MySQL instance on the server. Do you have root access to the MySQL server? If not you will need to contact your host, I think the easiest thing to do would be to update the password for your user to use the old style password that will be compatible with the files being use by MySQL. In the link I posted there is a query that you can execute if you have root access that will do this update of the password for you. If you don't have root access your hosts admin will need to run this for you. Updating the MySQL files to latest should also do the trick, either way your host should be able to handle this for you.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...