Connect to Different Types of Databases in Spring Boot

Photo by ben o'bro on Unsplash
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.3.5.RELEASE</version>
</parent>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
</dependency>
#==== MySQL Configuration ======#
spring.mysqldb.datasource.url=jdbc:mysql://127.0.0.1:3306/archive?useSSL=false
spring.mysqldb.datasource.username=admin
spring.mysqldb.datasource.password=password
spring.mysqldb.datasource.driver-class-name=com.mysql.cj.jdbc.Driver

I would love to change the world, but they won’t give me the source code | coding 👩🏼‍💻 | coffee ☕️ | jazz 🎷 | anime 🐲 | books 📚 | drawing 🎨

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Architecting the AstraZeneca vaccine booking site

Taking Manual Snapshot and Restoring data in Amazon Elasticsearch using Python

Integration of Git, GitHub and Jenkins and creating build pipeline

Rancher -A Step Ahead

Broken Door Handle https://t.co/JLKRx2MDeM https://t.co/hdNEH8o1LR

Plato is the father of waterfall, and Aristotle is the mother of Scrum

Where’s the RPA ROI that was here? Did someone see it?

The ROI of your RPA implementation

Top SaaS Product Development Ideas for Startups in 2021

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Nil Seri

Nil Seri

I would love to change the world, but they won’t give me the source code | coding 👩🏼‍💻 | coffee ☕️ | jazz 🎷 | anime 🐲 | books 📚 | drawing 🎨

More from Medium

Introduction to Spring Security

Build a Spring Boot REST API with Pagination and Sorting

Spring Boot With Kafka Communication

JAVA 12 Features