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

mysql -u root pcquest -p < pcquest.back

This page comes from
Kuwait Linux User Group

The URL for this page is: