emscom > emscom Help Desk > Knowledgebase

Search help:

MySQL backup and restore

Solution Backup a mySQL database

mysqldump -uUSER_NAME -pPASSWORD db_name > file_name.sql

Restore a mySQL database
mysql -uUSER_NAME -pPASSWORD db_name < file_name.sql
Was this article helpful? yes / no
Related articles MySQL create restricted user
MySQL SSH tunnel on OSX
ESXi 6 Restore configuration across hosts
Article details
Article ID: 18
Category: SQL
Date added: 02-12-2011 11:53:24
Views: 216
Rating (Votes): Article rated 3.0/5.0 (14)

« Go back

Powered by Help Desk Software HESK, in partnership with SysAid Technologies