Show DATABASES;
CREATE DATABASES testdb;
USE testdb;
DROP DATABASE testdb;
사용자정보는 mysql에서 관리하므로 먼저 mysql로 이동
USE mysql;
SELECT host ,user FROM user;
CREATE user 'username'@'localhost' identified by 'passward';
or
CREATE user 'username'@'%' identified by 'passward';
Host 정보가 다르면 유저 아이디가 같아도 OK
DROP user 'username'@'loacalhost';
or
DROP user 'username'@'%';