Working with MySQL Workbench, I was always curious why you
couldn’t run a script with a sourcing command, like
source
or \.
command. It raises a 1064
error code, like the one shown in the illustration.
It turned out that there’s a pending feature request to add the ability to run a sourcing command like the following:
SOURCE c:\DATA\some_script.SQL |
or,
\. c:\DATA\some_script.SQL |
I added my business reason to the bug. Let’s hope the product managers add it quickly.