PDA

Click to See Complete Forum and Search --> : [RESOLVED] 'nobody'@'localhost' (using password: NO)


tendemo
Sep 2nd, 2008, 01:38 PM
Can someone tell me what this means and how I can isolate the whole problem listed below.


PHP Error Message

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'nobody'@'localhost' (using password: NO) in /home/a1571937/public_html/includes/database/mysql.php on line 13

Free Web Hosting

PHP Error Message

Warning: mysql_get_server_info(): supplied argument is not a valid MySQL-Link resource in /home/a1571937/public_html/includes/database/mysql.php on line 14

Free Web Hosting
Access denied for user 'nobody'@'localhost' (using password: NO)

Cheers

visualAd
Sep 2nd, 2008, 03:19 PM
It means the username and or password you have used to connect to MySql is invalid. Use a valid one to fix the problem.

tendemo
Sep 3rd, 2008, 02:10 AM
When creating the database, the Host was changed from localhost to say ABCD does this mean I have to replace this in the whole script ?

visualAd
Sep 3rd, 2008, 02:58 AM
I would hope that you only use the host name of the database once in your application as a string and include the file which contains this definition. If not, then the answer is yes.

BrianS
Sep 3rd, 2008, 09:17 AM
Post your connection code, somewhere in there you state where the MySQL Server is.

tendemo
Sep 3rd, 2008, 10:49 AM
G thanks I've got it Done