Last active
December 13, 2017 06:20
-
-
Save realfirst/2a225af266920daa6d1a17e2b9d67a88 to your computer and use it in GitHub Desktop.
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
SELECT User,Host FROM mysql.user; | |
DROP USER 'testuser'@'localhost'; | |
* MySql export schema without data | |
mysqldump -u root -p --no-data dbname > schema.sql | |
mysqldump -u root -p --no-data azkaban > azkaban-schema.sql | |
* how-to-import-an-sql-file-using-the-command-line-in-mysql | |
mysql -u username -p database_name < file.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment