계정 추가 및 외부 접속 허용

#계정추가
create database {디비이름}; 
grant all privileges on {디비이름}.* to {아이디}@localhost identified by '{비밀번호}' with grant option;

#외부접속 허용
grant all privileges on *.* to {아이디}@'%' identified by '{비밀번호}' with grant option;

评论

精华帖