I am using mysql to export a database from my application, the options I have so far:


The above are from a String list (a collection of strings, in this case a Qt QStringList. (C++).). The executable is mariadb-dump.exe

When the file is generated using the above I see in the file:

/*!40000 DROP DATABASE IF EXISTS `training`*/;CRLF

There are several lines that have comments in them like this, does this mean the above will not be executed? If Yes, how to I fix this in the export so these lines are not commented out?


1 Answer 1


This is a conditional syntax.

/*!XXXXXX .... */

means that statement will be executed if current mariadb version is equal to or higher than XXXXXX. In your case database training will be dropped if server you have dump loaded to is of version 4.0 or higher.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.