MYSQL ERROR CONNECT
| From: | Dani | Date: | Mon, 06 May 2002 13:49:03 +0000 |
| Subject: | MYSQL ERROR CONNECT | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-96231@lists.php.net to get a copy of this message | ||
Hi,
I have been using this code for while:
//1. CONNECT TO DATABASE
mysql_connect("localhost");
//2. SELECT A DATABASE
mysql_select_db("smpk2");
to connect to MYSQL database.
but I get this error:
Warning: Access denied for user: 'nobody@localhost' (Using password: NO)
in /www/host/doms/com/smpk2/create_tables.php on line 15
Warning: MySQL Connection Failed: Access denied for user:
'nobody@localhost' (Using password: NO) in
/www/host/doms/com/smpk2/create_tables.php on line 15
could someone help me, please???
thanks