Jump to content

[SOLVED] INSERT.. Access denied!


warstormer

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?

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.