spring-boot Connecting a spring-boot application to MySQL

30% OFF - 9th Anniversary discount on Entity Framework Extensions until December 15 with code: ZZZANNIVERSARY9

Introduction

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.

Remarks

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



Got any spring-boot Question?