Skip to content

Cannot select a schema (database) if not informed at connection time #508

Discussion options

You must be logged in to vote

It's interesting to think about what a cross-database interface would look like for this; Snowflake has something similar in the snowsight UI. This might be more of an adapter-specific feature, in which case I think the interface would be through a right-click on the data catalog (see #213, where I already anticipated this).

I think you're using the mysql adapter, but that's not totally clear.

For now... can't you use a USE database statement before your select query? I think the two queries get executed in the same session, so the USE statement should work:

USE backendapp;
SELECT * FROM config WHERE updated_at > CURRENT_DATE - 7 DAY

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@mlopezgva
Comment options

@tconbeer
Comment options

@tconbeer
Comment options

Answer selected by tconbeer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants