💡 데이터 통제어를 공부해보자!
create user 'tester1'@'localhost' identified by '1234';
show grants for '사용자'@'호스트'
사용자 제거
drop user '아이디'@'접속위치'
권한 부여
grant 권한, 권한 on DB.테이블 to '사용자'@'호스트' with 옵션;
tester1 사용자에게 front 라는 DB의 모든 테이블에 select, insert 권한 부여
grant select, insert on front.* to 'tester1'@'localhost';
revoke 권한 on DB.테이블 from '사용자'@'호스트';