To create a new database and a user who has all privileges to that database in MySQL, use the following sequence of commands
- Login to the MySQL instance as the admin user (root in my case). This will
prompt for the password to be entered and drop you to the
mysql
shell afterwards.
1
|
|