phpSensei Posted January 4, 2008 Share Posted January 4, 2008 Warning: mysql_pconnect() [function.mysql-pconnect]: Client does not support authentication protocol requested by server; consider upgrading MySQL client in /home/dir/public_html/Connections/filename.php on line 9 <?php # FileName="Connection_php_mysql.htm" # Type="MYSQL" # HTTP="true" $hostname_richardsgarage = "localhost"; $database_richardsgarage = "xxxxx"; $username_richardsgarage = "xxxxx"; $password_richardsgarage = "xxxxx"; $richardsgarage = @mysql_connect($hostname_richardsgarage, $username_richardsgarage, $password_richardsgarage) or die(mysql_error()); $database = mysql_select_db($database_richardsgarage); if($richardsgarage){ echo 'Connected'; } else { echo 'Not Connected'; } ?> Link to comment https://forums.phpfreaks.com/topic/84509-mysql-client/ Share on other sites More sharing options...
duclet Posted January 4, 2008 Share Posted January 4, 2008 What I don't get is that your error message is relating to the function mysql_pconnect but I don't see that function used anywhere in your code, I only see mysql_connect. Link to comment https://forums.phpfreaks.com/topic/84509-mysql-client/#findComment-430568 Share on other sites More sharing options...
phpSensei Posted January 4, 2008 Author Share Posted January 4, 2008 Same thing happens with mysql_connect I am guessing SET PASSWORD FOR user@localhost = OLD_PASSWORD('password'); Link to comment https://forums.phpfreaks.com/topic/84509-mysql-client/#findComment-430571 Share on other sites More sharing options...
phpSensei Posted January 4, 2008 Author Share Posted January 4, 2008 I might be a sensei, but i don't know how to upgrade the client on my server/domain, I never had experience with these kind of stuff. Link to comment https://forums.phpfreaks.com/topic/84509-mysql-client/#findComment-430600 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.