Install and Configure MariaDB Flashcards

1
Q

Install and Configure MariaDB

A

yum group install mariadb mariadb-client

vim /etc/my.cnf

Add line:
bind-address=172.31.19.137

systemctl enable mariadb
systemctl start mariadb

mysql_secure_installation

mysql -u root -p

firewall-cmd –permanent –add-service mysql

firewall-cmd –reload

ss -tulpn | grep 3306

How well did you know this?
1
Not at all
2
3
4
5
Perfectly