CentOS 8 installation of MariaDB detailed tutorial

MariaDB The database management system is a branch of MySQL, which is mainly maintained by the open source community and is licensed under GPL. One of the reasons for the development of this branch is that after Oracle acquired MySQL, there is a potential risk of closing MySQL to its source, so the community adopts branching to avoid this risk. MariaDB is fully compatible with mysql, and the usage is the same.

System environment:

CentOS Linux release 8.1.1911 (Core)

1 ) Install mariaDB

2 ) Turn on the service. After the installation is complete, first turn on the MariaDB service and set it to start at boot

systemctl start mariadb #Open service
systemctl enable mariadb #Set as a boot service

3 ) Initial configuration.

mysql_secure_installation
Enter current password forroot(enter for none): #Enter the password of the database super administrator root(Note that the password is not the root of the system), If you have not set a password for the first time, press Enter

Set root password?[Y/n] #Set password, y

New password: #new password
Re-enter newpassword: #Enter the password again

Remove anonymous users?[Y/n] #Remove anonymous users, y

Disallow root login remotely?[Y/n] #Reject root remote login, n, regardless of y/n, will refuse root remote login

Remove test database and access to it?[Y/n] #Delete the test database, y: delete. n: Do not delete, there will be a test database in the database, generally not needed

Reload privilege tables now?[Y/n] #Reload the permission table, y. Or restart the service maybe

4 ) Test whether the login is successful.

mysql -u root -p

5 ) Set MariaDB character set to utf-8

。。。。。。

6 ) Remote link to mariadb database

Enable remote access

grant all on *.* to user03@'%' identified by '123456'with grant option

Force refresh permissions

flush privileges;

Recommended Posts

CentOS 8 installation of MariaDB detailed tutorial
Centos7 installation of PHP and Nginx tutorial detailed
Centos7 installation of Dameng database tutorial
CentOS6 minimal installation KVM detailed tutorial
Centos8 installation diagram (super detailed tutorial)
Detailed explanation of Spark installation and configuration tutorial under centOS7
Centos8 minimal deployment and installation of OpenStack Ussuri detailed tutorial
Centos7 installation and deployment of Airflow detailed
Graphical installation of CentOS8
Linux CentOS 7 installation tutorial
CentOS 6.5 system installation and configuration graphic tutorial (detailed graphic)
Detailed tutorial of installing nginx on centos8 (graphic)
Graphical centos installation detailed process
Hyper-V + CentOS7 installation video tutorial
Centos7 silent installation of Oracle11g
vmware install CentOS 7 detailed tutorial
CentOS environment installation of Docker
Centos7.4 environment installation lamp-php7.0 tutorial
Centos8 (minimal installation) a new installation of Python3.8+pip method tutorial
Detailed installation steps of CentOS6.4 system in virtual machine
Detailed explanation of CentOS7 network setting tutorial in vmware
Detailed tutorial on installing JDK8 on Linux system (CentOS7 installation)
Centos7 installation and configuration of Jenkins
Centos iso image file installation tutorial
Centos6.5 installation and deployment of KVM
Installation under centos6.9 of jenkins learning
CentOS8.1 build Gitlab server detailed tutorial
Detailed use of nmcli in CentOS8
CentOS7 installation and maintenance of Gitlab
Detailed examples of Centos6 network configuration
001. Installation of enterprise-level CentOS7.6 operating system
2019-07-09 CentOS7 installation
centos7_1708 installation
[Switch] CentOS7 64-bit installation mysql tutorial
CentOS 7 system installation and configuration graphic tutorial
Installation and use of Mysql under CentOS
Centos-6.5 installation and deployment of LNMP environment
Installation and configuration of redis under centos7
Centos7 installation and deployment of gitlab server
The implementation of the Ubuntu18.04 installation Pycharm tutorial
CentOS7 installation zabbix 4.0 tutorial (graphics and text)
Jenkins installation and deployment tutorial under CentOS 7
Detailed tutorial on installing MySQL 8 in CentOS 7
Centos5 installation guide
Python2.7 [Installation Tutorial]
CentOS 7.2 install MariaDB
Python - centos6 installation
Docker installation (CentOS7 installation)
CentOS7 docker installation
CentOS7 fully automatic installation CD production detailed explanation
The most complete centos installation tutorial in history
Install nginx in centos8 custom directory (detailed tutorial)
CentOS8 detailed tutorial for configuring local yum source
Build LEMP (Linux+Nginx+MySQL+PHP) environment under CentOS 8.1 (detailed tutorial)
Installation and configuration of rsync server under CentOS 6.5
Installation and configuration of CentOS 7 in VMware Workstation
MySQL 8.0 installation and deployment under CentOS, super detailed!
Detailed explanation of building Hadoop environment on CentOS 6.5
Non-Root installation of Microsoft R Open under Centos
MySQL 8.0 installation, deployment and configuration tutorial on CentOS 8
From installation to entry of FastDFS under Centos7