사용자 추가
mysql> grant all privileges on *.* to '사용자'@'localhost' identified by '패스워드' with grant option;
mysql> grant all privileges on *.* to '사용자'@'%' identified by '패스워드' with grant option;
mysql> flush privileges;
사용자 패스워드 변경 password() 사용해야 암호화됩니다.
mysql> update user set password=password('1234') where user='root';
mysql> flush privileges;
'DB > Mysql' 카테고리의 다른 글
MYSQL 대소문자 구분 (0) | 2015.07.01 |
---|---|
MYSQL REPLICATION 동기화 설정 (0) | 2014.11.20 |
[Mysql] CentOS 에서 한글설정 (0) | 2014.06.02 |
[Mysql] mysqldump 사용법 백업& 복구 (0) | 2014.02.11 |
[Mysql] 부정형 NOT IN 사용 (0) | 2014.02.11 |