Connecting MySQL Database with Spring Data Application

Donovan
7 min readJan 26, 2022

Part 1 in a Full Stack Series

The following are tools that will be used in this demo..

  • XAMPP for managing the MariaDB/MySQL database
  • MySQL
  • Eclipse IDE
  • Spring Initializr

Once you have the necessary tools downloaded and installed you are ready to follow along. This is not meant to be a full step by step guide to installing necessary dependencies. If you need help with that, leave a comment and I will do my best to help.

The purpose of this demo will be to show you how to create a database, starting the database server, and connecting to that database from your application, which will allow you to manipulate and work with your database from your spring application.

The first thing we will do will be create our database. After you have XAMPP installed open it on your machine. This opens the XAMPP Control Panel. You should see a list of “modules” that will be available to start running as well as options to configure, open logs, and open the Shell terminal.

--

--

Donovan

Learning. Puttin up shots in Angular and Java and Python and anything else I get my hands on. Sights set on becoming a gainfully employed developer.