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!

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 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.