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!

Recommended Answers

All 2 Replies

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.