Created
February 1, 2019 11:55
-
-
Save Banhawy/a4af2a0e59a35bc5350960407fa68027 to your computer and use it in GitHub Desktop.
[MySQL commands] #mysql #magento
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
#https://www.liquidweb.com/kb/delete-a-mysql-database-on-linux-via-command-line/ | |
# Login to the MySQL server using root | |
mysql -u root -p | |
# show all dbs | |
SHOW DATABASES; | |
# Delete a db | |
DROP DATABASE IF EXISTS db_name; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment