- Hands-On Full Stack Development with Spring Boot 2.0 and React
- Juha Hinkula
- 178字
- 2021-06-25 21:00:22
Installing MariaDB
In the next chapter, we are going to use MariaDB, and therefore we will install it locally to 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 GPL 2 license.
For Windows, there is the MSI installer, that we will use here. Download the installer and execute it. Install all features from the installation wizard:
![](https://epubservercos.yuewen.com/12C211/19470392408878806/epubprivate/OEBPS/Images/Chapter_88.jpg?sign=1738944271-fE3WyiTKHuIQjlNXAdBVXqn0i8XsqfkP-0-2b6d019cb9640ba0e3e0cb3b276219e8)
In the next step, you should give the password for the root user. This password is needed in the next chapter, when we connect to the database with our application:
![](https://epubservercos.yuewen.com/12C211/19470392408878806/epubprivate/OEBPS/Images/Chapter_46.jpg?sign=1738944271-4eJ8ZeOicOxxC5h29iFodz6vWfN1Q6A7-0-35247f1bdc2eb917e220fa2ab0120735)
In the next phase, we can use the default settings:
![](https://epubservercos.yuewen.com/12C211/19470392408878806/epubprivate/OEBPS/Images/Chapter_76.jpg?sign=1738944271-hc8ToWQr0zx8In8jKEyCTXr4H314ZC73-0-10275cf722449066757b8d332472afb5)
Now the installation starts, and MariaDB will be installed to 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/12C211/19470392408878806/epubprivate/OEBPS/Images/Chapter_153.jpg?sign=1738944271-1j99A5enoQnTutkKS6Hx7BGM1G6ni6ew-0-caf3b61a8cc552eb50c467d2f046d470)