Jump to content

Recommended Posts

Hello Everyone,

When i m connecting mysql database to php
there is showing an error.
Please help me guys to sorting it out.
I m very new to this language.

[b]The error is as follow :-[/b]Warning: mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client in C:\raj\database.php on line 13

[color=#FF0000]

Please reply me as soon as possible

Thanks
Link to comment
https://forums.phpfreaks.com/topic/8798-how-to-connect-php-with-mysql-database/
Share on other sites

[!--quoteo(post=370250:date=May 1 2006, 05:17 AM:name=wildteen88)--][div class=\'quotetop\']QUOTE(wildteen88 @ May 1 2006, 05:17 AM) [snapback]370250[/snapback][/div][div class=\'quotemain\'][!--quotec--]
Could you provide details on the versions of PHP and MySQL.

Also I believe you have to configure MySQL to use the old passwords directive to sort this issue out.
[/quote]


I m using php 4.2 and mysql 4.1
You are saying that I have to configure MySQL please tell me how i configure MySQL
And also sort my problem how i connect MySQL to PHP.

I will be thankful to you to sorting out this problem

Please reply as soon as possible
The fix can be found here. You have to do this from the mysql prompt.

[a href=\"http://www.digitalpeer.com/id/mysql\" target=\"_blank\"]http://www.digitalpeer.com/id/mysql[/a]

or here

[a href=\"http://dev.mysql.com/doc/refman/5.0/en/old-client.html\" target=\"_blank\"]http://dev.mysql.com/doc/refman/5.0/en/old-client.html[/a]

This has to be done from php version 4.x.x to current

Ray
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.