By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,946 Members | 744 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,946 IT Pros & Developers. It's quick & easy.

Error: access denied for user ''@'localhost' to database

P: 1
i am also getting the same error of access denied for user ''@'localhost' to database 'emp'.

tried each and everything command which you posted above but still it ain't working..

when i try to use this command:
mysql -uroot -p
it asks for password and as i remember i didn't gave any password at the time of installation.
Feb 4 '12 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.