카테고리

Show All (635)
ZeLkOvA (346)
Study (45)
Wizard Works (17)
ETC. (226)
Trash Box (0)

달력

« » 2024.5
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 29 30 31
Total
Today
Yesterday

최근에 올라온 글

최근에 달린 댓글

글 보관함

C:\APM_Setup\Server\MySQL\bin>mysql -u yan -p
Enter password: ******
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 379617 to server version: 4.0.18-nt

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> use mysql;
Database changed
mysql> update user set password=PASSWORD('hmtgo') where user = 'yan';
Query OK, 1 row affected (0.02 sec)
일치하는 Rows : 1개 변경됨: 1개  경고: 0개

mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)


1. 우선 특정 사용자로 접속한다.

2. mysql 디비로 접속후 user테이블에서 사용자의 비밀번호를 변경한다.

3. flush privileges로 권한을 다시 리로드하면 적용이 된다.

Posted by 성주
, |