Guest User

Untitled

a guest
Dec 8th, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. #!/bin/bash
  2. read -p "Please enter your desired MySQL username: " USER
  3. echo $USER
  4. read -p "Please enter your desired MySQL password: " PASS
  5. echo $PASS
  6.  
  7. mysql CREATE USER $USER@'localhost' IDENTIFIED BY $PASS;
Add Comment
Please, Sign In to add comment