This is tutorial how to backup and restore MySQL database on Centos 5
To backup MySQL database:
# mysqldump -u root -pyourpassmysql dbname > /root/dbname.sql
To restore MySQL database:
# mysql -u root -pyourpassmysql dbname < /root/dbname.sql
yourpassmysql : root password MySQL
dbname : database name
How to Backup and Restore MySQL Database on Centos
4/
5
Oleh
Admin