Install and Configure Local and Remote MariaDB Clients Flashcards

1
Q

Install and Configure Local and Remote MariaDB Clients

A

On Remote Machine

yum group install mariadb mariadb-client

mysql -h -u root -p

Accessed denied

On Mariadb server

mysql -u root -p

GRANT ALL ON . TO root@ IDENTIFIED BY ‘password’;

FLUSH PRIVILEGES;
quit
vim /etc/my.cnf

under bind-address=
skip-networking=1

systemctl restart mariadb

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