Return to Snippet

Revision: 32797
at October 2, 2010 06:04 by mikael12


Initial Code
#Export a MySQL database

mysqldump -u username -ppassword -h localhost database_name > file.sql




#Import a MySQL database

mysql -u username -ppassword -h localhost database_name < file.sql

Initial URL

                                

Initial Description

                                

Initial Title
MySQL export and import from host

Initial Tags

                                

Initial Language
Bash