Warning: mysql_query() [function.mysql-query]: Access denied for user 'nobody'@'localhost' (using password: NO) in /home/kamsarph/public_html/index.php on line 3

Recommended Answers

All 2 Replies

If you want to get some help you need to provide more detailed info (usually including some code) and some info about how your environment is set up. You would normally provide the info on what you have already done to try to resolve this problem and then ask a question.

Do you have a valid MySQL user in your environement called 'nobody@localhost' or is this just a default user in the code that you are using? If it is a default in the code, then you need to change it to use a valid MySQL user ID (and password if there is one).

Seems the username is not submited. Depending in your project check the calling method, the calling Object or the settings oft your DBAL. In developer environments you could also change the DB credential settings (if it's allowed)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.