How to Export & Import mysql Database from Command Line

  • Updated on
  • read
  • Add to Flipboard Magazine.

I was recently working on creating a local instance of a WordPress site and was using Wamp. When I was importing the database it was throwing an error (mysql error 2006 mysql server has gone away) because the packet size was too large. I used the command line to import the database and increase the packet size.

Written by: Jacob Lett - Jacob started BootstrapCreative to help others learn web design and development. He has built websites for 10+ years for companies and as a freelancer. He enjoys learning and encouraging others to improve their skills.
Category: Common Questions
Tags: ,

Want to Get Email Updates?

Receive a monthly digest of new tutorials and resources.