SharkBait Posted June 26, 2007 Share Posted June 26, 2007 I am getting the following error message from MySQL and I am not sure why it isn't working for all clients that are using it: Warning: MySQL Connection Failed: Client does not support authentication protocol requested by server; consider upgrading MySQL client in /home/feedback/public_html/includes/c-mysql.php on line 24 MySQL Cannot Connect: This is line 24: <?php $this->link = mysql_connect($this->host, $this->username, $this->password) or die ("MySQL Cannot Connect: ". mysql_error())); ?> Why would it work on my computer, but not on another computer? Quote Link to comment https://forums.phpfreaks.com/topic/57267-mysql-conection-failed/ Share on other sites More sharing options...
Wildbug Posted June 26, 2007 Share Posted June 26, 2007 MySQL switched user authentication schemes from one of the versions to the next. You'll get an error like this when encountering a difference between the client (older) and a server that is newer. You may have to upgrade the MySQL library for the PHP installation in question. Google "MySQL Connection Failed: Client does not support authentication protocol requested by server" and you'll probably find some others with the same problem and solutions. Quote Link to comment https://forums.phpfreaks.com/topic/57267-mysql-conection-failed/#findComment-283168 Share on other sites More sharing options...
fenway Posted June 27, 2007 Share Posted June 27, 2007 You have to update their your database driver in PHP or update MySQL grant tables with OLD_PASSWORD(). Quote Link to comment https://forums.phpfreaks.com/topic/57267-mysql-conection-failed/#findComment-284310 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.