개발/DB
mysql 사용자 추가 및 권한
donnert
2019. 2. 7. 13:17
제목 그대로 mysql 8 버전 기준 사용자 / db / 권한 추가
create user testuser identified by 'mypassword';
create database testdb;
grant all privileges on testdb.* to 'testuser' with grant option;