서버/DB

mysql 원격접속 허용하기

아카이sun 2017. 8. 30. 22:02

원격접속 허용 명령어


mysql에 접속한다.

grant all privileges on *.* to '계정명'@'%' identified by '비밀번호';


flush privileges;


my.cnf 에서 다음을 수정한다.

bind-address            = 0.0.0.0