Jump to content

Recommended Posts

Hi, am running an INSERT to a mysql database but get

 

Warning: mysql_query() [function.mysql-query]: Access denied for user 'nobody'@'localhost' (using password: NO)

 

I can connect to the database and run SELECT queries using the username and password I set up... Do I have to declare the password again?

Link to comment
https://forums.phpfreaks.com/topic/63200-solved-insert-access-denied/
Share on other sites

your permissions are set correctly in MySQL correct?

 

i use phpMyAdmin to modify permissions and tables, its a very easy to use interface.

 

Ok, I've started using phpMyAdmin, but where do I set permissions? (sorry for being a bit dense here!)

 

What i don't understand is why is says 'Access denied for user 'nobody'@'localhost'.... why nobody when the user is declared in my config.php file?

This is the full error: Warning: mysql_query() [function.mysql-query]: Access denied for user 'nobody'@'localhost' (using password: NO)

 

Running a google search this crops up on loads of sites, there must be a simple answer... I use phpmyadmin to manage my database. The database was set up initially using CPanel.... Any ideas?

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.