서비스 상태 확인
systemctl status mysql
MySQL monitor
# mysql -u root
> show databases;
외부아이피 접속 설정
nano /etc/mysql/mariadb.conf.d/50-server.cnf
bind-address = 0.0.0.0
systemctl status mysql
# mysql -u root
> show databases;
nano /etc/mysql/mariadb.conf.d/50-server.cnf
bind-address = 0.0.0.0