can't access mysql by mysql_connect

From: Date: Tue, 03 Oct 2000 07:11:23 +0000
Subject: can't access mysql by mysql_connect
Groups: php.general 
Request: Send a blank email to php-general+get-18374@lists.php.net to get a copy of this message
Hi there, My platform is RedHat 7.0 along with mysql 3.23.22beta and php 4.0.1 I did the following to chage root password of mysql: #mysqladmin -p password newpassword After that, I have no problem running mysql command(e.g. #mysql -p) using the new password. However, my php script (new password as argument to mysql_connect function) got error: Warning: MySQL Connection Failed: Access denied for user: 'root@myhost' (Using password: YES) Once I pass the old password as argument to mysql_connect, the php script runs fine. Could anybody help me out with this?? K __________________________________________________ Do You Yahoo!? Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free! http://photos.yahoo.com/

« previous php.general (#18374) next »