Username/Password Problem with mysql_connect()
I am practising both PHP and MySQL programming on my desktop with Windows 98SE / PWS 4 Web Server. Using PHP script to connect to MySQL server, when I define DB_USER and DB_PASSWORD with my real user name and real password, I get the following error message:
Warning: mysql_connect(): Client does not support authentication protocol requested by server. Consider upgrading MySQL client in D:\Inetpub\wwwroot\php\mysql_scripts\6\mysql_connect.inc on line 20
The category could not be added!
To get these to work, I had to change DB_USER name to "root" and DB_PASSWORD to blank.
Why is it so? Any help?
I am using PHP 4.3.11 and MySQL 4.1.0
George Essilfie
Georgio
Subject
Written By
Posted
Username/Password Problem with mysql_connect()
August 12, 2005 02:28AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.