programing

LAN에서 Debian 9(Stretch)의 MariaDB 10.1.23에 접속

goodcopy 2022. 9. 25. 23:02
반응형

LAN에서 Debian 9(Stretch)의 MariaDB 10.1.23에 접속

방금 MariaDB 서버(Stretch 출시부터 MySQL 기본 플레이버)로 debian 9 서버를 설정했습니다.

유감스럽게도 LAN 머신에서 MariaDB에 접속하는 방법을 알고 있습니다.

my.cnf(bind-address 또는 skip-networking)에는 아무것도 없습니다.iptables에 3306을 열었어요

그것은 로컬 호스트에서만 수신하도록 MariaDB가 설정되어 있는 것 같습니다만, 이것을 변경하는 방법이나 장소를 알 수 없습니다.

bind-address는 다음과 같이 설정됩니다./etc/mysql/mariadb.conf.d/50-server.cnf

$ grep -r bind.address /etc/m*
/etc/mysql/mariadb.conf.d/50-server.cnf:bind-address            = 127.0.0.1

언급URL : https://stackoverflow.com/questions/44780603/connection-to-mariadb-10-1-23-on-debian-9-stretch-from-lan

반응형