title: spring boot connection to localhost database
body: <p>Is it possible to connect a database from mamp server(localhost) using a spring boot app in eclipse and display data from it? Or how does it work, because I have no idea how to implement that?</p>
  <pre><code> spring.datasource.url=jdbc:mysql://localhost/dbtuts
   spring.datasource.username=root
   spring.datasource.password=root
   spring.datasource.driver-class-name=com.mysql.jdbc.Driver
   spring.jpa.database-platform=org.hibernate.dialect.MySQL5InnoDBDialect
  </code></pre>
  <p>this is what, I've been using for application.properties</p>