How would you backup and restore a big MySQL database? What
are the advantages of the approach which you have taken
over the others?

Answer Posted / meena bisht

Backup:- mysqldump -u <user name> -p<pwd> dbname >
filename.sql

Restore:- mysql -u <user name> -p<pwd> dbname < filename.sql

The backup and restoration of any table is faster in sql
file.

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I fix a crashed mysql database?

487


How do I free up space in mysql?

483


What is mysql in linux?

484


What language is used in mysql?

497


How to see the create table statement of an existing table?

571






What is a blob datatype?

442


What's the latest version of mysql?

500


What is pdo connection?

460


Why use stored procedures in mysql?

513


What is delimiter in mysql trigger?

518


Is there a free mysql?

484


How do I stop a mysql command?

475


What is the difference between mysql_fetch_assoc and mysql_fetch_array?

444


What is action query?

496


How do I kill a mysql query?

443