en
  English
Phone:  +370 (5) 204-1903
Skype:  onegbits
  1. Dedicated server
  2. Blog
  3. tutorial install mariadb on ubuntu 18

tutorial install mariadb on ubuntu 18

tutorial install mariadb on ubuntu 18

29

Sep, 18

2111

In this article, you will learn how to install mariadb on ubuntu 18.

MariaDB is a database system that is a MySQL split and uses the MariaDB Storage Engine as a storage engine.

Learn install mariadb on ubuntu 18

1.first connect to console ubuntu.

2.Then type the following command to update your Debian repository list.

apt update

3.After completing the previous steps, Enter the following command to download and install the latest version of MariaDB on your Ubuntu 18.

apt install mariadb-server

4.After install and download MariaDB, Enter the following command to make  default settings for this service.

mysql_secure_installation

After enter the above command, At first you will be prompted for Root password you set up your database or not? that by choosing none, you will be asked twice to set the password.

After set password, The initial settings are ended.

Tutorial Work with the MariaDB service in Ubuntu 18

1.start the MariaDB service in Ubuntu 18

systemctl start mariadb

2.Enable the MariaDB service at the startup of Ubuntu 18

systemctl enable mariadb

3.Stop the MariaDB service in Ubuntu 18

systemctl stop mariadb

4.Disable the MariaDB service at the startup of Ubuntu 18

systemctl disable mariadb

5.Display the status of the MariaDB service in Ubuntu 18

systemctl status mariadb

 

If you have a question about this article, You can let us know via comments and we will get back to you.

Leave A Comment