DB 추가 CREATE DATABASE database_name default CHARACTER SET UTF8mb4; flush privileges; DB권한을 가지는 사용자 추가 # GRANT ALL PRIVILEGES ON database_name.* TO user_name@hostname IDENTIFIED BY 'password'; GRANT ALL PRIVILEGES ON database_name.* TO username@localhost IDENTIFIED BY 'password'; # INSERT INTO mysql.user (host, user, password) VALUES ('hostname', 'username', password('password')); # insert into 를..