Bug: VIsual Explain doesn't use the current database schema
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 58/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- mysql, typescript
- Domain
- database
Research direction
Reproduce the steps in the issue: create a connection without a default schema, set a schema as the current database schema, and run Visual Explain on a query using a table there. Start by tracing the Visual Explain entry point and how the selected schema is passed to MySQL; done means the query runs without MySQL error 1046.
Written by the indexing model from the issue text.
Description
Reproduce:
- create a connection with no default schema, open a new script
- In the schemas tab, pick a schema and "set as Current Database Schema"
- write a query referencing atleast 1 table in the selected schema, and select "visual explain"
- Error: MySQL Error (1046): No database selected
- Dominant language
- TypeScript
- Stars
- 98
- Forks
- 23
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from mysql/mysql-shell-plugins
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 92/100
mysql/mysql-shell-plugins#96 ·
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 58/100
mysql/mysql-shell-plugins#100 ·
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 48/100
mysql/mysql-shell-plugins#99 ·
-
MariaDB connections are blockedMay be free again A pull request for this issue was closed without being merged. Openbug
Difficulty 4/5 3-5 days Newbie friendliness 45/100
mysql/mysql-shell-plugins#97 · 1 comment ·
-
Support SSH-agent authentication for MySQL Workbench connectionsPossibly taken @Phreak420 claimed this 28 days ago. Openenhancement
Difficulty 4/5 3-5 days Newbie friendliness 38/100
mysql/mysql-shell-plugins#94 ·
All issues in mysql/mysql-shell-plugins
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
status:approved type:bug
Difficulty 1/5 Under an hour Newbie friendliness 70/100
egdev6/quorb#109 · 1 comment ·
Maintainers usually reply within 1 day
-
stage:4
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
ilan-pinto/roaring-lions#598 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Frontmatter next to `src:` is applied to every imported slide, not only the first (undocumented)Open
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day