you are here: codestackercodes [RSS]mysql dump

mysql dump

import/export a database via terminal

Export
mysqldump -u username -p -h mysqlhostname databasename > databasedump.sql

Import
mysql -u username -p -h mysqlhostname databasename < databasedump.sql

Comments