![Hands-On Full Stack Development with Spring Boot 2 and React(Second Edition)](https://wfqqreader-1252317822.image.myqcloud.com/cover/599/36698599/b_36698599.jpg)
Installing MariaDB
In Chapter 3, Using JPA to Create and Access a Database, we are going to use MariaDB, so you will need to install it locally on your computer. MariaDB is a widely used open source relational database. MariaDB is available for Windows and Linux, and you can download the latest stable version from https://downloads.mariadb.org/. MariaDB is developed under a GNU GPLv2 license.
For Windows, there is the MSI installer, which we will use here. Download the installer and execute it. Install all features from the installation wizard:
![](https://epubservercos.yuewen.com/8C9A01/19470378701489706/epubprivate/OEBPS/Images/175af811-1f25-4686-a07a-13903f9d7c13.png?sign=1739538114-pVt1rxlr4yfMfF8P5zzEJrkcYf2dYyQB-0-3857407a7f2a1ef28d27a8058d5fb447)
In the next step, you should give the password for the root user. This password is needed in the next chapter, when we'll connect our application to the database:
![](https://epubservercos.yuewen.com/8C9A01/19470378701489706/epubprivate/OEBPS/Images/b6915a5d-e37d-4505-9e47-5471c7bd8897.png?sign=1739538114-cT2SWo36dEgJonk6e4n68VnQI6MF8B4r-0-87c2f95f26859e956e059a240d1d24bc)
In the next phase, we can use the default settings:
![](https://epubservercos.yuewen.com/8C9A01/19470378701489706/epubprivate/OEBPS/Images/f0643e9d-80c7-43b5-8c10-200281577f13.png?sign=1739538114-RzNoscOpLPBHHBWKfPyXPtbNw861Jepn-0-b197c3fee053e9f28114d58ab511330d)
Now the installation will start, and MariaDB will be installed on your local computer. The installation wizard will install HeidiSQL for us. This is a graphically easy-to-use database client. We will use this to add a new database and make queries to our database. You can also use the Command Prompt included in the installation package:
![](https://epubservercos.yuewen.com/8C9A01/19470378701489706/epubprivate/OEBPS/Images/12e7c2ca-579f-4d24-be02-b73a53090959.png?sign=1739538114-I7OS2C99S4LGJvoJHMWZJsHRPRweV4Pl-0-b8c8940d43582cda92fe1a48633e6324)
Now, we have everything that is needed to start the implementation of the backend.