user 조회:
select host, user, authentication_string from user;
drop user:
drop user springstudent@'%'
외부에서 접근 가능하도록 유저 생성:
create user springstudent@'%' identified by 'springstudent';
local에서만 접근 가능하도록 유저 생성:
create user springstudent@localhost identified by 'springstudent';
spring student에게 moBack 데이터베이스에 대한 모든 권한 부여:
grant all privileges on moBack to 'springstudent';
댓글
댓글 쓰기