How to Install Mariadb / Mysql Server in Linux Fedora, CentOS and RedHat?

RSS
EMAIL
FACEBOOK
FACEBOOK
GOOGLE
GOOGLE
https://www.poftut.com/how-to-install-mariadb-mysql-server-in-linux-fedora/
PINTEREST
PINTEREST
INSTAGRAM

Mariadb is an open source database forked from another popular open source database MySQL. MariaDB developers are original developers of the MySQL. After Oracle get management of the MySQL project they become unhappy with the management of the Oracle and started MariaDB project. Latest available version for MariaDB was 10.1.18 as writing but we will get what our distribution provides us.

Install MariaDB

We will use dnf inorder to install MariaDB. The package is called as mariadb-server .

OR we can use traditional yum package manager like below.

Start MariaDB Database Service with systemctl

After installing the required MariaDB packages we will list current status of the MariaDB serviceor daemon with systemctl command like below.

It is stopped now we will start the service and look to the status again.

Login To The MariaDB Console

We will login to the MariaDb Console. As stated before MariaDB forked from MySQL and most of the tools are compatible with the MySQL. We will use MySQL database management tool for this. We will provide root user and password.

LEARN MORE  How To Manage Firewall Rules With Iptables In Linux

Getting Help For MariaDB

By issuing help command we can list basic commands.

List Databases in MariaDB

We can use show databases; command to list databases in MariaDB

LEARN MORE  How To Use Linux Nohup Command To Execute Commands After Exit Shell or Terminal?

RSS
EMAIL
FACEBOOK
FACEBOOK
GOOGLE
GOOGLE
https://www.poftut.com/how-to-install-mariadb-mysql-server-in-linux-fedora/
PINTEREST
PINTEREST
INSTAGRAM