MySQL Forums
Forum List  »  MySQL Administrator

Re: Import/Export error
Posted by: Massimiliano A
Date: April 16, 2009 10:59AM

Thank you Jay, it helped.
I made the backup using mysqldump with the appropriate options, in this way:
mysqldump -uroot -p --opt --triggers --R --databases mydb > mydb.sql
and I got all stored procedures and triggers in the dump .

The strange thing, however, is that in the backup script all the tables are listed in alphabetic order, and if there are dependencies between them (FK) the restore will probably put out an error because a linked table was not yet created during the restore.

Best Regards
massimiliano

Options: ReplyQuote


Subject
Written By
Posted
April 15, 2009 08:07AM
April 15, 2009 10:43AM
Re: Import/Export error
April 16, 2009 10:59AM
April 16, 2009 01:49PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.