Saturday, March 16, 2019

How to Import and Export Databases


EXPORT
To Export a database, open up terminal, making sure that you are not logged into MySQL and type :

mysqldump -u [username] -p [database name] > [database name].sql

Import

source filepath.../filename.sql;


No comments:

Post a Comment