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



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to