formulahendry / vscode-mysql

MySQL management tool for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=formulahendry.vscode-mysql
MIT License
218 stars 59 forks source link

Export Script: Database embedded in script is WRONG #164

Open salmagnone opened 3 years ago

salmagnone commented 3 years ago

When exporting a database (schema) that is not the one listed in connect string, the Create and Use lines in dumped script are incorrect. Instead of listing the database name of the database you just exported, it uses the database name in the connect string.