I am using sqlyog in office. But at my home I have mysql gui. now how can I backup a database from sqlyog and restore it mysql gui? any idea please
Asked
Active
Viewed 162 times
1
-
by `mysql gui`, you mean mysql workbench? – John Woo Feb 24 '13 at 09:04
1 Answers
3
Why over complicate things?
Create backup
mysqldump -u <user> -p<password> <database> > backup.sql
Restore
mysql -u <user> -p<password> <database> < backup.sql
Rob
- 12,432
- 4
- 36
- 54