backup your mysql.


To backup your database from Mysql do:

mysqldump -u root pcquest > pcquest.back -p pass

syntax : mysqldump -u > -p

To install your backup into your Mysql:

If the name of database lost do:
mysqladmin -u root create pcquest -p

then:
mysql -u root pcquest -p < pcquest.back





This page comes from
Kuwait Linux User Group
http://www.q8linux.net

The URL for this page is:
http://www.q8linux.net/modules.php?name=Content&pa=showpage&pid=15