[MYSQL] 계정 추가 및 외부 접속 허용

- 07-05
- 1,924 회
- 0 건
#계정추가
create database {디비이름};
grant all privileges on {디비이름}.* to {아이디}@localhost identified by '{비밀번호}' with grant option;
#외부접속 허용
grant all privileges on *.* to {아이디}@'%' identified by '{비밀번호}' with grant option;
로그인 후 댓글내용을 입력해주세요