You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use the driver to restore database from bin log. The sql file is created from "mysqlbinlog -r". In the sql file, it sets DELIMITER to /!/ at the beginning. Some how code like:
db.Query("DELIMITER /!/;")
fails with following error:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DELIMITER /!/' at line 1
I tried other string/char for the delimiter, none works. Is there any limitation on this driver that it can't run delimiter query?
Please help. Thanks!
The text was updated successfully, but these errors were encountered:
The delimiter is not a feature of the SQL query language that the server understands. It is a feature of the mysql commandline client and can only be used there.
I'm trying to use the driver to restore database from bin log. The sql file is created from "mysqlbinlog -r". In the sql file, it sets DELIMITER to /!/ at the beginning. Some how code like:
db.Query("DELIMITER /!/;")
fails with following error:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DELIMITER /!/' at line 1
I tried other string/char for the delimiter, none works. Is there any limitation on this driver that it can't run delimiter query?
Please help. Thanks!
The text was updated successfully, but these errors were encountered: