954,560 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

mysql , access denied !

i am using mysql for the first time and following an online tutorial.
i am using the command prompt to connect to the mysql server.

the problem is that , i want to create a new database named bookstore.
so, in the mysql> prompt i am writing

create database bookstore;

but, when i press enter it shows

access denied for user ''@'localhost' to database 'bookstore'

please help!

joy39
Newbie Poster
16 posts since Oct 2011
Reputation Points: 10
Solved Threads: 0
 

Did you specify the user when starting the command prompt ?

pritaeas
Posting Expert
Moderator
5,480 posts since Jul 2006
Reputation Points: 653
Solved Threads: 875
 

ok! got it ! as you said i didn't specify the user. thanks!

joy39
Newbie Poster
16 posts since Oct 2011
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: