Computing.Net > Forums > Web Development > Warning: mysql_connect(): Client do

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Warning: mysql_connect(): Client do

Reply to Message Icon

Name: rsasalm
Date: July 20, 2005 at 06:14:58 Pacific
OS: Winxp pro
CPU/Ram: P4
Comment:

Hi all,

I have installed WAMP package from
http://en.wikipedia.org/wiki/WAMP.

I have even installed the following packages from their respective sites.

1. Apache 1.3.22
2. PHP 5.0.2
3. MySQL 4.1.12a
The machine on which all is installed have WinXP pro with P4 processor.

Then I followed the instruction found at
http://www.puremango.co.uk/cm_wamp_97.php
to make Apache, PHP and MySql run together.

PHP works fine but when I try to run the following mysql.php script.


Warning: mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client in C:\Apache2\htdocs\test\connect.php on line 3

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in C:\Apache2\htdocs\test\connect.php on line 7
Client does not support authentication protocol requested by server; consider upgrading MySQL client

What is missing?
/rsasalm



Sponsored Link
Ads by Google

Response Number 1
Name: rsasalm
Date: July 20, 2005 at 13:07:46 Pacific
Reply:

Hi again,
One more thing to mention.

I have set the password as below.
************
USE mysql;
UPDATE user SET Password=PASSWORD("flibble");
FLUSH PRIVILEGES;
exit;
*************
I suppose that both Mysqld and Mysql should be running(correct me if I am wrong).
I can see in the task manager that MYsqld is running but when I try to run mysql via dos command I get the following error:
C:\mysql-4.1.12a-win32\bin>mysql
ERROR 1045 (28000): Access denied for user 'ODBC'@'localhost' (using password: N
O)


Any comments.
thanks
regards
/rsasalm


0

Response Number 2
Name: Laler
Date: July 20, 2005 at 17:04:57 Pacific
Reply:

about your 2nd post, try:

C:\mysql-4.1.12a-win32\bin>mysql -u root -p


::::

about your first post, sorry I don't have a sure answer.

Client does not support authentication protocol requested by server; consider upgrading MySQL client in...

I had that message before when I try to connect to MySQL 4.1+ by using PHP4. But as you already use PHP5, I can't see the problem :(

---
Site of the Day


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: Warning: mysql_connect(): Client do

New to web development www.computing.net/answers/webdevel/new-to-web-development/1940.html

phpBB using too many connections www.computing.net/answers/webdevel/phpbb-using-too-many-connections/780.html

web page upload/removing folders www.computing.net/answers/webdevel/web-page-uploadremoving-folders/482.html