Fix DataGrip Schema Navigation β Databases or Schemas Not Visible
In this tutorial, you'll learn about Fix DataGrip Schema Navigation. We cover key concepts, practical examples, and best practices.
You connect a data source in DataGrip. The connection test passes, but the Database Explorer shows almost nothing β maybe one schema, no tables, or only a subset of databases. You know the server has hundreds of tables, but DataGrip isn't showing them.
Wrong β
π data sources
π mydb@localhost
π information_schema
That's it. No public, no app, no analytics. You click Refresh (F5) β nothing changes. You reconnect β still empty.
You expected:
π mydb@localhost
π information_schema
π public
π users
π orders
π products
π app
π analytics
Right β
Introspection scope fix:
- Rightβclick the data source β Properties
- Go to Schemas tab
- You'll see a list of tickboxes β by default, only
information_schemais ticked - Tick the schemas you want visible:
public,app,analytics, etc. - Alternatively, click All schemas to show everything
Also check the General tab:
Look for Introspect using JDBC metadata vs Introspect using same connection:
- JDBC metadata β uses driver metadata (faster, may miss objects)
- Same connection β uses
SELECTqueries (slower, complete)
Switch to Same connection if schemas are still missing after ticking.
Refresh after changes:
Rightβclick the data source β Refresh (Ctrl+F5). Full tree appears:
π mydb@localhost
π information_schema
π public
π users (24 columns)
π orders (18 columns)
π products (11 columns)
π app
π analytics
Root Cause
DataGrip limits introspection to selected schemas to keep the tree responsive. On large databases with many schemas, the default selection may include only system schemas. Users expect the tree to show "everything" automatically.
Prevention
- After creating a new data source, always visit the Schemas tab and tick the relevant schemas.
- For development databases, tick All schemas once β DataGrip remembers the selection.
- Use Filter by name in the Schema tab if the list is long.
- Share schema visibility settings via Data Source β Export β To XML for team consistency.
Common Mistakes with schema navigation
- Using
returnto exit a function early instead of wrapping a pure value in the monad - Mixing let bindings with <- bindings in do notation, producing type errors
- Overlapping type class instances that cause GHC to reject the program with ambiguous dispatch errors
These mistakes appear frequently in real-world DATAGRIP code. DodaTech's contributors have identified these patterns through analysis of open-source projects and production systems.
Practice Exercise
Write a pure function that safely divides two integers using Maybe, then test it with edge cases like division by zero and negative numbers.
This exercise reinforces the concepts covered in this guide. Try implementing it before checking online solutions.
FAQ
Optimise DataGrip navigation in the DodaTech DataGrip Efficiency course.
Built by the developers of DodaTech
Doda Browser, DodaZIP & Durga Antivirus Pro