"Mysql"의 두 판 사이의 차이
1번째 줄: | 1번째 줄: | ||
− | === 서비스 상태 확인 === | + | ===서비스 상태 확인=== |
systemctl status mysql | systemctl status mysql | ||
− | === MySQL monitor === | + | ===MySQL monitor=== |
<nowiki>#</nowiki> mysql -u root | <nowiki>#</nowiki> mysql -u root | ||
> show databases; | > show databases; | ||
+ | |||
+ | === 외부아이피 접속 설정 === | ||
+ | nano /etc/mysql/mariadb.conf.d/50-server.cnf | ||
+ | |||
+ | bind-address = 0.0.0.0 |
2018년 10월 29일 (월) 23:05 판
서비스 상태 확인
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