Bug #15152 | downgrade, load(MySQL 4.1) a dump(made in 5.0) fails because of triggers | ||
---|---|---|---|
Submitted: | 22 Nov 2005 21:23 | Modified: | 2 May 2006 22:11 |
Reporter: | Matthias Leich | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Documentation | Severity: | S3 (Non-critical) |
Version: | 5.0 | OS: | |
Assigned to: | Paul DuBois | CPU Architecture: | Any |
[22 Nov 2005 21:23]
Matthias Leich
[1 May 2006 18:07]
Paul DuBois
Wouldn't it be easier to use --skip-triggers?
[2 May 2006 7:39]
Matthias Leich
Yes, of course. I cannot remember if this option was already available in November 2005.
[2 May 2006 22:11]
Paul DuBois
Thank you for your bug report. This issue has been addressed in the documentation. The updated documentation will appear on our website shortly, and will be included in the next release of the relevant product(s). Additional info: I've updated the downgrade instructions in the 5.0 manual to point out the --skip-routines and --skip-triggers options to prevent dumping of stored routines and triggers. For views, the procedure's more problematic because there is no --skip-views option (perhaps there should be). For this case, the instructions point out that you should remove all views before using mysqldump.
[2 May 2006 22:19]
Paul DuBois
A similar issue occurs for events when downgrading from 5.1 to 5.0, so I will add a note about using --skip-events to the downgrading section in the 5.1 manual.