File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ name : Import a MySQL dump with progress bar into a MySQL server
3+ command : " pv {{mysql_dump_path}} | mysql -u {{username}} -p {{database_name}}"
4+ tags :
5+ - mysql
6+ description : Import a mysqldump file into a MySQL server with a progress bar indicating time remaining
7+ arguments :
8+ - name : username
9+ description : The user to connect to the MySQL server as
10+ default_value : ~
11+ - name : database_name
12+ description : The name of the database to import the dump into
13+ default_value : ~
14+ - name : mysql_dump_path
15+ description : The filepath to the .sql dump file
16+ default_value : ~
17+ source_url : " https://dba.stackexchange.com/questions/17367/how-can-i-monitor-the-progress-of-an-import-of-a-large-sql-file"
18+ author : Rob
19+ author_url : " https://dba.stackexchange.com/users/15321/rob"
20+ shells : []
You can’t perform that action at this time.
0 commit comments