1. DB 생성 - root접속 ( mysql -uroot -pezen ) create database springtest; (DB생성) use mysql; (mysql은 근본 DB로 권한을 부여하는 기능이 있음! ) create user 'springuser'@'localhost' identified by 'mysql' ; (유저생성) grant all privileges on springtest.* to 'springuser'@'localhost' with grant option; (권한부여) flush privileges; (재시작) - 유저 변경 접속 ( mysql -uspringuser -pmysql ) use springtest; create table user( id varchar(100) ..