Posted By

surfeurX on 05/21/10


Tagged

mysql


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

kalmi


create user with privilèges on mysql


 / Published in: SQL
 

  1. CREATE DATABASE foo_db;
  2. CREATE user foo_user IDENTIFIED BY 'foo_password';
  3. GRANT ALL ON foo_db.* TO 'foo_user'@'%';

Report this snippet  

You need to login to post a comment.