Dev/Mariadb
[MySQL] 외부 접속 권한 설정
ainory
2008. 11. 21. 03:07
외부 접속 특정 DB 접근 IP 열어주기
mysql> grant all privileges on 데이터베이스명.*(*.*) to 계정명@IP identified by '비밀번호';
ex.) grant all privileges on malldb.* to lee@210.xxx.xxx.xxx identified by 'password';
mysql> flush privileges;
mysql> select * from user;