Guest User

Untitled

a guest
Nov 20th, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. # Create a new MySQL user on Cloud9 - Change both __username__ and __password__ below
  2. mysql-ctl cli
  3.  
  4. -- by default, Cloud9 creates an empty database named 'c9'
  5. -- create user
  6. CREATE USER '__username__'@'127.0.0.1' IDENTIFIED BY '__password__';
  7.  
  8. -- privileges
  9. GRANT ALL PRIVILEGES ON *.* TO '__username__'@'127.0.0.1' WITH GRANT OPTION;
  10. FLUSH PRIVILEGES;
  11.  
  12. exit;
  13.  
  14. # Done
Add Comment
Please, Sign In to add comment