You need to set up a user to have the correct permissions and then log in as that user.
Pretty sure you didn't log in to mysql (hence the: ''@localhost). Log in like:
Code:
mysql --user=user_name --password=your_password db_name
Also, do you have the users set up correctly? To set up a new user with all permissions try something like:
Code:
GRANT ALL PRIVILEGES ON * . *
TO 'user_name'@'localhost'
IDENTIFIED BY 'your_password'
WITH GRANT OPTION MAX_QUERIES_PER_HOUR 0
MAX_CONNECTIONS_PER_HOUR 0
MAX_UPDATES_PER_HOUR 0 ;
Replacing 'user_name' and 'your_password' with the correct info. Then log in as that user.
or even easier, get phpMyAdmin
