insert into user(host, user, password) values('localhost', '아이디', password('비밀번호'));
insert into user(host, user, password) values('%', '아이디', password('비밀번호'));

grant all privileges on DB명.* to 아이디@localhost identified by '비밀번호';
grant all privileges on DB명.* to 아이디@'%' identified by '비밀번호';

+ Recent posts