Guest User

Untitled

a guest
Sep 3rd, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. #!/bin/bash
  2. DBNAME=""
  3. DBUSER=""
  4. DBPASS=""
  5. REMOTEIP=""
  6.  
  7. mysql $DBNAME -e "grant all privileges on $DBNAME.* to $DBUSER@$REMOTEIP identified by '$DBPASS';"
Add Comment
Please, Sign In to add comment