![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=1734475130-u8cUiMiuh5rC3KvuehYUbIracz4cp4Wu-0-196bad97f3764653d8aa6ddfe5e97a01)
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=1734475130-e3SL9mNvw9UJ1DEPzfbQBPKxR3VsmawK-0-f879e93da6c0328afb3db44f41018f99)
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=1734475130-PINFNNBqa9LfzfClESXvoJt8aYHssDwb-0-9561e07992afc405516ec5c746836cc0)
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=1734475130-XP6PXL2Hja2gPxiy6WTZOL0Wk2bE5QIm-0-00e2cda93a56bb8e392264a28718324d)
Now, we have everything that is needed to start the implementation of the backend.