Created
February 27, 2019 04:19
-
-
Save rajeshisnepali/759a781617a65e2f315d23c82e1f29cb to your computer and use it in GitHub Desktop.
drop database in mysql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#format | |
# drop-db.sh '`test-1234`' | |
mysql -u root -p <<MYSQL_SCRIPT | |
DROP DATABASE $1; | |
MYSQL_SCRIPT | |
echo Mysql Database $1 dropped |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment