I am having trouble creating a database on my local server using MySQL.
Approach:
Start mysqld as administrator
Start MySQL as administrator
mysql> create database db_name;
MySQL throws an error indicating, "Access Denied for user ''@'localhost to database 'db_name'.
What do I need to specify to MySQL to create a database?
show grants for 'administrator'@'localhost';What do you see?