root말고 따른 계정으로 해서 들어가려고 할때




create database shopdb default character set euckr;

create user 'a'@'%' identified by '1234';

grant all privileges on shopdb.* to 'apple'@'%' identified by '1234';


a생성해서 권한주고 그다음 a계정으로 들어가려고 할떄 어떻게 해야되요??