1 Attachment(s)
[RESOLVED] 'nobody'@'localhost' (using password: NO)
Can someone tell me what this means and how I can isolate the whole problem listed below.
PHP Error Message
Code:
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
Re: 'nobody'@'localhost' (using password: NO)
It means the username and or password you have used to connect to MySql is invalid. Use a valid one to fix the problem.
Re: 'nobody'@'localhost' (using password: NO)
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 ?
Re: 'nobody'@'localhost' (using password: NO)
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.
Re: 'nobody'@'localhost' (using password: NO)
Post your connection code, somewhere in there you state where the MySQL Server is.
Re: 'nobody'@'localhost' (using password: NO)
G thanks I've got it Done