반응형
사용자생성
-
mysql - 유저 생성과 권한 부여하기프로그래밍/DB 2015. 4. 25. 20:19
참고사이트https://bharath256.wordpress.com/2008/12/08/access-denied-for-user-root-to-database/https://dev.mysql.com/doc/refman/5.0/en/adding-users.htmlhttps://dev.mysql.com/doc/refman/5.1/en/grant.htmlhttps://dev.mysql.com/doc/refman/5.0/en/connection-access.html 우선 사용자를 생성하기 위해 console에서 root로 mysql를 실행한다. mysql -u root -p (암호 입력) 유저 생성 명령은 기본적으로 아래와 같다. CREATE USER 'username'@'host' IDENTIFIED BY '..