0. Install Maria DB Server Package

$ sudo apt install mariadb-server -y

Once installation begins, system will ask you password for root.

This root account is not a Linux OS root, but only for Maria DB Server admin account.

Input preferred password twice times and installation continues.

1. Create DB for Wordpress

Once complete to install Maria DB Server, create database using for Wordpress.


$ mysql -uroot -p

and input password for root you created while installation.

After login Maria DB Server, create database named wordpress.

create database wordpress;

If Query OK, 1 row affected displayed, it means database has created correctly.

Quit Maria DB Server by \q or Ctrl + d.

That’s all for Maria DB Server.