Skip to content

Instantly share code, notes, and snippets.

@jpcercal
Last active August 29, 2015 14:05
Show Gist options
  • Select an option

  • Save jpcercal/177022261216831b1351 to your computer and use it in GitHub Desktop.

Select an option

Save jpcercal/177022261216831b1351 to your computer and use it in GitHub Desktop.
Import database MySQL with Progress Bar
# apt-get install pv
# pv -t -p <your-filename>.sql | mysql -u <your-username> -p -D <your-database-name>
pv -t -p database.sql | mysql -u root -p -D test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment