Created
June 22, 2016 11:27
-
-
Save Mrkisha/c073d026ea342e334a9beb0cd60db743 to your computer and use it in GitHub Desktop.
Cli to recreate database without structure and content
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 | |
mysqladmin -u<user> -p<password> drop <database> | |
mysqladmin -u<user> -p<password> create <database> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment