사용자 생성
create user '사용자'@'localhost' identified by '비밀번호';
DB 생성
create database [DB명]
사용자 DB 권한 부여
grant all privileges on [DB이름].[테이블] to '사용자'@'호스트';
ex : grant all privileges on sample.* to 'user1'@'localhost';
새로고침
flush privileges;