Phoenix Ignited is a proud tech solutions partner of Luxauro.com. View their news and media page here: Luxauro.com

Exporting & Importing a SQL Dump

Exporting & Importing a SQL Dump

This is not a tutorial, it is simply a quick help on exporting and importing mysql database dumps. I hope you enjoy!

Exporting a SQL Dump

To export a mysql database dump:

							
							
					mysql -u <username> -p <db_name> > /path/to/dump.sql				
			

Importing a SQL Dump

To import a mysql database dump:

							
							
					mysql -u <new_db_username> -p new_database_name < /path/to/dump.sql
				
			

That’s a wrap! 

Walter Miely is a tech entrepreneur and CEO of Phoenix Ignited Tech You can find him on Linkedin. This material is licensed under the CC BY 4.0 License LEGAL DISCLAIMER: The content provided here is provided AS IS, and part of, or the entirety of this content may be incorrect. Please read the entireLegal Disclaimer here.

Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.