Saturday, July 13, 2013

How to Backup and Restore MySQL Database on Centos



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

Baca Juga

How to Backup and Restore MySQL Database on Centos
4/ 5
Oleh
Tampilkan Komentar
Sembunyikan