Created
December 11, 2017 15:03
-
-
Save tinchodev/8de34177b3cfdaa11aa98363d3a4d4d8 to your computer and use it in GitHub Desktop.
Import Export Mysql Pipe View
This file contains 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
# Export | |
mysqldump -uxxx -pxxx data_base > data_base.sql | |
# Import | |
mysql -uxxx -pxxx data_base < data_base.sql | |
# Import Pipe View | |
pv data_base.sql | mysql -uxxx -pxxxx data_base | |
# Import Source | |
mysql -uxxx -pxxx | |
drop database data_base; | |
create database data_base; | |
use data_base; | |
SOURCE data_base.sql; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment