formulahendry / formulahendry/vscode-mysql
Export Script: Database embedded in script is WRONG
- Dominant language
- TypeScript
- Stars
- 229
- Forks
- 58
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at the export-script entry point in the VS Code MySQL extension and trace how the exported schema and connection-string database are selected. Reproduce an export where they differ, then verify that the generated Create and Use lines name the exported schema rather than the connection-string database.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- mysql, typescript, vscode
- Domain
- databases, devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100