/ Published in: SQL
Expand |
Embed | Plain Text
mysql -u root -p (here I enter 'my_root_password' TO get through the mysql prompt) CREATE DATABASE my_database; GRANT ALL PRIVILEGES ON my_database.* TO 'my_user'@'localhost' IDENTIFIED BY 'my_password' WITH GRANT OPTION;
You need to login to post a comment.
