use mysql;
select host, user from user;
create user 'root'@'%' identified by '비밀번호';
create user 'root'@'192.168.%' identified by '비밀번호';
create user 'root'@'특정IP' identified by '비밀번호';
-- 륵정 ip접근 허용이면 '%'부분에 특정ip입력
grant all privileges on *.* to 'root'@'%' with grant option;
flush privileges;