리눅스 MariaDB 외부접속 가능하게 설정하기
리눅스는 Debian 리눅스를 기준으로 합니다. /etc/mysql/my.cnf 파일수정 bind-address = 0.0.0.0 위 bind-address = 0.0.0.0 을 추가해줍시다. 사용자 작성, 권한 부여 # mysql -u root -p MariaDB [(none)]> create database etssun_db; // 데이터베이스 생성 MariaDB [(none)]> create user 'etssun'@'%' identified by 'root'; // etssun 이라는 계정을 비밀번호를 root로 생성 MariaDB [(none)]> grant all privileges on etssun_db.* to etssun@'%'; //etssun_db 라는 데이터베이스의 권한을 etssu..
2018.07.30