2019년 April 4일
  1. 클라우드
  2. MySQL 외부 접속 설정 방법

MySQL 외부 접속 설정 방법

MySQL 외부 접속 설정 방법입니다.

 

 

1) mysql DB 선택

mysql> use mysql

 

 

2) 외부 접속 허용 쿼리 추가

mysql> grant all privileges on DB명.* to 계정명@’원격IP’ identified by ‘패스워드’ with grant option;

ex) grant all privileges on *.* to ‘root’@’xxx.xxx.xxx.xxx’ identified by ‘password’ with grant option;

 

 

3) 설정 저장

mysql> flush privileges;

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *

연관 글
BCT NEWS
인기 글
워드프레스 제작 팁
워드프레스 모음
워드프레스 제작 팁