Jump to content

Recommended Posts

I have 2 phpmyadmin mysql db's online with my web hosting. They are both mysql v. 5.0.67. I can connect fine to one of them, but the second one gets this error message: "Client does not support authentication protocol requested by server; consider upgrading MySQL client" I read online that I have to reset the password to use the pre mysql 4.1 password, but when I try to do this with: SET PASSWORD FOR user@host = OLD_PASSWORD('password'), I get this error: "#1044 - Access denied for user 'user'@'%' to database 'mysql'" I don't know how to fix this problem.. If anyone can help me that would be so great. 

 

Thanks.

Link to comment
https://forums.phpfreaks.com/topic/167649-connecting-to-mysql-database/
Share on other sites

I have 2 phpmyadmin mysql db's online with my web hosting. They are both mysql v. 5.0.67. I can connect fine to one of them, but the second one gets this error message: "Client does not support authentication protocol requested by server; consider upgrading MySQL client" I read online that I have to reset the password to use the pre mysql 4.1 password, but when I try to do this with: SET PASSWORD FOR user@host = OLD_PASSWORD('password'), I get this error: "#1044 - Access denied for user 'user'@'%' to database 'mysql'" I don't know how to fix this problem.. If anyone can help me that would be so great. 

 

Thanks.

I'd talk to your web hosting provider.  They should be able to offer support for you, considering this is a webhosting issue, not something gone wrong in your database or coding.  I'm suspecting that they've got some kind of authentication tool set up (I know CPanel does).  You have to set up users with passwords for each database before you can use mysql_connect(...);.  Also, their MySQL server may have settings that trump yours, so if your username is test, it may be something like domainname_test, test, username_test, etc.

What do you mean "pre-mysql 4.1 password", have you used those databases when they were version 4.1 or earlier?  If not, that shouldn't be an issue.  By the way, PHPMyAdmin is simply an interface for your databases, it doesn't describe your database in any way.  It just helps you manage them.

Good luck.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.