계정 추가 및 외부 접속 허용
-
팁앤테크
- 07-05
- 3,940 회
- 0
#계정추가
create database {디비이름};
grant all privileges on {디비이름}.* to {아이디}@localhost identified by '{비밀번호}' with grant option;
#외부접속 허용
grant all privileges on *.* to {아이디}@'%' identified by '{비밀번호}' with grant option;