• For any one else who may stumble across this post in their search for an answer:

    Make sure your sql statement does not have a "USE db" clause in it.

    That will also cause this error.