# 암호 변경

mysql> UPDATE user SET  password = pawssword('new_password') where user = 'userid';
mysql> FLUSH privileges;

# 사용자 추가

mysql> INSERT INTO user(Host, User, Password) VALUES('localhost', '유저명', password('new_password'));
mysql> FLUSH privileges;

# 데이터베이스 추가 및 권한 주기

mysql> GRANT ALL privileges ON 데이터베이스명.* TO 유저명@localhost IDENTIFIED BY '유저패스워드';
mysql> FLUSH privileges;


크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기

Posted by 홍반장

2010/08/18 16:46 2010/08/18 16:46
, , ,
Response
No Trackback , No Comment
RSS :
http://tcbs17.cafe24.com/tc/rss/response/5454


블로그 이미지

- 홍반장

Archives

Recent Comments

  1. 1 pHqghUme 01/05
  2. 1 pHqghUme 01/05
  3. 1 pHqghUme 01/05
  4. 1 pHqghUme 01/05
  5. 1 pHqghUme 01/05

Calendar

«   2025/02   »
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28  
Statistics Graph

Site Stats

Total hits:
268016
Today:
24
Yesterday:
425