To install and use the MariaDB database server, use the instructions below.
Open Ubuntu terminal and run the commands below to install MariaDB database server.
sudo apt update
sudo apt install mariadb-server
After installing the MariaDB database server, use the following commands to stop, start, and enable the MariaDB server to start automatically when the server boots.
sudo systemctl stop mariadb
sudo systemctl start mariadb
sudo systemctl enable mariadb
Run the following commands to check whether the MariaDB philippines telegram data database server has been installed successfully.
sudo mariadb
Once you run the above commands, you will be logged into the MariaDB console and will see a message similar to the one below.
Your MariaDB connection id is 32
Server version: 10.11.2-MariaDB-1 Ubuntu 23.04
Copyright c 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [none]>
The message states that the server has been installed successfully.
Create a Laravel Database
After successfully installing the MariaDB database server, create an empty database on the server specifically for the Laravel application.
As part of the installation, we will create a database called laraveldb and a user account called laraveldbuser .