I\'m trying to find a MySql driver that i can use with Go which supports issuing multiple SQL statements in one call. For example i might wish to create a database using the
I would recommend simply making 2 calls. Why not? It makes the code easier to grok and improves the error handling.
The other option, if you have a large SQL file from the dump is to shell out and execute the whole thing in one go.