--DB생성
create database DB이름;
--계정 생성 및 권한 주기
grant all privileges on `DB이름`.* to 사용자아이디@localhost identified by '비밀번호' with grant option;
--권한 재로딩
flush privileges;
--유저삭제
drop user 사용자아이디@localhost;
--DB삭제
drop database DB이름;
exit;
create database DB이름;
--계정 생성 및 권한 주기
grant all privileges on `DB이름`.* to 사용자아이디@localhost identified by '비밀번호' with grant option;
--권한 재로딩
flush privileges;
--유저삭제
drop user 사용자아이디@localhost;
--DB삭제
drop database DB이름;
exit;
