1. mysql root 초기 패스워드(Password) 세팅(Setting)

mysqladmin -uroot -p password [설정할 패스워드]

2. 사용자 추가 및 권한 주기

grant all privileges on [데이터베이스명].* to [사용자명]@localhost identified by [비밀번호] with grant option;

flush privileges;

+ Recent posts