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 got a parse error when I want to source a file in a query: var result = await connection.query(source "${modelPath}");
I tried putting quotes around it, changing / to \ or \ but no luck. although it does work in the console I wonder why it doesn't work?
ER_PARSE_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 'source "D:\workspace\all.model.ddl"' at line 1
The text was updated successfully, but these errors were encountered:
source is a command in the mysql.exe command line tool. Since it is not SQL, your MySQL server is rejecting that. The message you are seeing it coming from your MySQL server itself, not this module.
I got a parse error when I want to source a file in a query:
var result = await connection.query(
source "${modelPath}");
I tried putting quotes around it, changing / to \ or \ but no luck. although it does work in the console I wonder why it doesn't work?
ER_PARSE_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 'source "D:\workspace\all.model.ddl"' at line 1
The text was updated successfully, but these errors were encountered: