Guest User

Untitled

a guest
Jan 22nd, 2018
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. # Create Database
  2.  
  3. ```mysql
  4. CREATE DATABASE {table name};
  5. ```
  6.  
  7. # Create User
  8.  
  9. ```mysql
  10. CREATE USER '{user name}'@'localhost' IDENTIFIED BY '{pass}';
  11. ```
  12.  
  13. # Give user DB access
  14.  
  15. ```mysql
  16. GRANT ALL ON {table name}.* TO '{user name}'@'localhost';
  17. ```
Add Comment
Please, Sign In to add comment