Query consoles are bound to a particular data source, so there's no way you can change it.
As of 2025.3, we have moved to the query files concept, replacing the query consoles. Due to its flexibility, you can change both the data source and the SQL dialect.
As of 2025.3, we have moved to the query files concept, replacing the query consoles. Due to its flexibility, you can change both the data source and the SQL dialect.
Changing the data source for a console can be tricky, especially when working with multiple databases in IntelliJ. Many users face issues with SQL files not automatically connecting to the desired data source or needing to manually switch each time. For more context on handling default data sources and console behavior, see this discussion: https://intellij-support.jetbrains.com/hc/en-us/community/posts/7111268320914-Automatically-use-a-default-data-source-in-a-new-sql-filevisit site