DB 사용자 생성 및 권한 부여


# 모든 클라이언트에서 접근 허용 
grant all privileges on db이름.* to 계정이름@'%' identified by '암호’;

# 로컬에서만 접근 허용 
grant all privileges on db이름.* to 계정이름@'localhost' identified by '암호’; 

# DBMS에게 적용 
flush privileges;