spring-boot Connecting a spring-boot application to MySQL


We know that spring-boot by default runs using H2 database. In this article, we will see how to tweak the default configuration to work with MySQL database.


As a pre-requisite, make sure that MySQL is already running on port 3306 and has your database created.