Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cat > mytempsql <<EOF
- CREATE DATABASE testerdb;
- GRANT ALL PRIVILEGES ON testerdb.* TO 'tester'@'localhost' IDENTIFIED BY 'testing';
- exit
- EOF
- mysql --user=root --password=$rootsqlpw < mytempsql
- rm mytempsql
Add Comment
Please, Sign In to add comment