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
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 |
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 |
Answer / kalai
mysqldump -uuser -ppassword databasename >filename
| Is This Answer Correct ? | 2 Yes | 2 No |
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 |
How can you create and drop view in mysql?
How many rows can mysql hold?
What is mysql procedure?
What is the innodb in mysql?
What are the benefits of mysql?
Can mysql function return a table?
Why do we use the mysql database server?
What is full form of xampp?
1.how to fetch a value and Execute store procudure in mysql(INNODB) using phpMyAdmin? 2.can i wright a package in mysql database(INNODB)?
Is mysql case-sensitive?
How do I run mysql from command line?
What are features of mysql?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)