title: Trying to connect to a database created in a spring boot package with intelij Datagrip
body: <p>I have created a spring boot project in eclipse with a H2 embedded database and JPA. Inside my resource folder I'm using import.sql to populate the tables created in my entity package.The spring web application and database runs fine as I can check it but I want to know if it is possible to check this database in Intelij DataGrip like I can when I do this:</p>
  
  <pre><code>localhost:8080/h2-console
  </code></pre>
  
  <p>In my application.properties in my spring project I have this:</p>
  
  <pre><code>spring.datasource.url=jdbc:h2:file:./database/suppliersDB;
  spring.datasource.driverClassName=org.h2.Driver
  spring.datasource.username=sa
  spring.h2.console.enabled=true
  spring.h2.console.path=/h2-console
  spring.jpa.hibernate.naming.strategy=org.hibernate.cfg.DefaultNamingStrategy
  spring.jpa.database-platform=org.hibernate.dialect.MySQLDialect
  spring.jpa.show-sql=true
  spring.jpa.hibernate.ddl-auto=create
  </code></pre>
  
  <p>In my Intelij Datagrip I add a data source H2 and give it the url and test connection and it says ok but doesn't show any of the tables and when I run a query in the DLL it says table doesn't exist</p>
  
  <p>And I know I should probably shouldn't be using Intelij IDE since my project is in eclipse but it is just an experiment and it is frustrating me I can't get it working in Datagrip. </p>
  
  <p>Also the embedded database file stored by eclipse is an .mv.db file which maybe the problem i'm not sure!</p>
  
  <p>Any help would be much appreciated!</p>