Page 1 of 1

Embedded Server - MyDump includes "use mysql"

Posted: Thu 20 Dec 2007 14:43
by rsandies
When backing up with MyDump using the database option, the generated script has a "use mysql;" preceding the drop database statement. This causes an error when using the embedded server. Is there a way to prevent writing the use statement?

DAC 5.20.0.12, MySQL 4.1 or 5.1

And by-the-way, MySQL 5.1.22-rc seems to work with this build, at least with MyISAM tables. Instability has been emphasized by the Core team. Are there continuing problems?

Thank you

Posted: Fri 21 Dec 2007 11:18
by Dimon
Now MyDump does not provide such functionality, but we will consider possibility to prevent writing the USE statement.
Note, in spite of the error MyDump continues to execute all statements in the script.

Posted: Fri 21 Dec 2007 15:37
by rsandies
Thank you for looking at this. Working around the error is not difficult, but it would be nice to avoid.