Tag Archives: command-line

How to Import / Export MySQL Databases via SSH / Command-line

To Export a MySQL Database run: mysqldump -u username -p database_name > dumpfile.sql To Import a MySQL Database run: mysql -u username -p database_name < dumpfile.sql

Posted in FAQ | Tagged , , | Leave a comment