Access denied for user: 'root@localhost'

From: Date: Thu, 22 Aug 2002 15:44:30 +0000
Subject: Access denied for user: 'root@localhost'
Groups: php.db 
Request: Send a blank email to php-db+get-21313@lists.php.net to get a copy of this message
I had set a password for mysql user root, when i try to run index.php3 with body: <?php mysql_connect("localhost", "root", "pass"); mysql_select_db("djs"); echo mysql_errno() . ": " . mysql_error(). "\n"; mysql_select_db("kossu"); mysql_query("SELECT * FROM nonexistenttable"); echo mysql_errno() . ": " . mysql_error() . "\n"; ?> I'll receive this error: Warning: Access denied for user: 'root@localhost' (Using password: NO) in /home/httpd/horde/index.php3 on line 2 Warning: MySQL Connection Failed: Access denied for user: 'root@localhost' (Using password: NO) in /home/httpd/horde/index.php3 on line 2 . . . I install php and mysql support to linux system later. Where is the problem? What I need to do to system, to correct this (i think php) problem? It is I need to run phpMyAdmin on server. What do you recommaned to me? Thank you, bogio

« previous php.db (#21313) next »