Posted By

willcodeforfood on 02/06/08


Tagged

mysql


Versions (?)

Full MySQL config


 / Published in: SQL
 

  1. mysql -u root -p
  2. (here I enter 'my_root_password' TO get through the mysql prompt)
  3.  
  4. CREATE DATABASE my_database;
  5.  
  6. GRANT ALL PRIVILEGES ON my_database.* TO 'my_user'@'localhost'
  7. IDENTIFIED BY 'my_password' WITH GRANT OPTION;

Report this snippet  

You need to login to post a comment.