Difficulty connecting Mysql to Spring Boot

I am new to Spring Boot and have been attempting to connect it to my MySql workbench. I started a new Spring Boot project with web, jdbc, jpa, and hibernate, but have been stuck.

There are a number of tutorials on this subject, but they all start by indicating that it's necessary to go into the application.properties file and add a configuration similar to the below:






spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5Dialect

However, none of the tutorials I have found discusses how to find the spring.datasource.url or even the username or password.

How can I find...

Read More »

By: StackOverFlow - 6 days ago

Related Posts