Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



How would you backup and restore a big MySQL database? What are the advantages of the approach whi..

Answer / 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

How would you backup and restore a big MySQL database? What are the advantages of the approach whi..

Answer / anil alpati

DATABAS DUMP - mysqldump -u <user> -p <password> <dbname> > filename

DATABASE RESTORE - mysql dbname< filename -u <user> -p <password>

Is This Answer Correct ?    1 Yes 0 No

How would you backup and restore a big MySQL database? What are the advantages of the approach whi..

Answer / kalai

mysqldump -uuser -ppassword databasename >filename

Is This Answer Correct ?    2 Yes 2 No

How would you backup and restore a big MySQL database? What are the advantages of the approach whi..

Answer / eric

Alternative to the solutions above, that all use the console
you can also use administration software, like
-MySQL Administrator (that's what I use, but it seems to be
replaced by the MySQL Workbench...)
-MySQL Workbench(I think this should also do the job, but I
didn't test it yet)

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More MySQL Interview Questions

For the database from the previous question, please give an SQL query which returns the invoice number of all invoices which contain the article with the number ?1234?. The query should be able to run under a MySQL 4.0 database.

1 Answers  


Where is the myisam table stored?

0 Answers  


How do I select a database in mysql?

0 Answers  


How set mysql root password?

0 Answers  


How do I run mysql?

0 Answers  


What is the default port of mysql server?

0 Answers  


If you wish to encrypt the username and password using php, how will you do that?

0 Answers  


What are the 'mysql' command line options?

0 Answers  


What is the difference between mysql and oracle?

0 Answers  


How do I restore a database in mysql workbench?

0 Answers  


How database are managed?

0 Answers  


What are the objects can be created using CREATE statement?

0 Answers  


Categories