By Damien LEFEVRE: Thursday 11 January 2007, 10:15
Making and restoring dump file of a database
Here is a memo for the mysqldump command:
- Making a dump file (b.sql is the file name you want to have for the dump file):
...>mysqldump -hHostAddress -uUserName -pUserPsswd dbName > b.sql;
- To restore the data go to the directory where b.sql is stored and:
...>mysqldump -hHostAddress -uUserName -pUserPsswd dbName < b.sql;



Comments
No comment for the moment.
Add a comment
Les commentaires pour ce billet sont fermés.