티스토리 뷰
반응형
1. consol
update user set password=password('[change password]') where user='[user id]';
mysql> update user set password=password('xxxxxx') where user='root'; Query OK, 4 rows affected (0.05 sec) Rows matched: 4 Changed: 4 Warnings: 0 mysql> quit Bye [root@test /]# mysqladmin -u root -p reload Enter password: [root@test /]# |
2. command
# mysqladmin -u [user id] -p password '[change password]'
[root@test /]# mysqladmin -u root -p password 'xxxxxx' Enter password: Warning: Using a password on the command line interface can be insecure. [root@test /]# |
반응형
'Database > MySQL' 카테고리의 다른 글
[MySQL] 원격지 접속 설정 (0) | 2016.12.19 |
---|---|
[MySQL] 테이블 생성 및 계정 할당 (0) | 2016.12.19 |
[MySQL] mysql consol 연결 (0) | 2016.12.19 |
[MySQL] error 2006 - MySQL server has gone away (0) | 2016.10.11 |
ODBC + MySQL 개발을 위한 패키지 설치 및 연결 (1) | 2016.09.17 |
댓글
반응형
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 파티션 추가
- ld 옵션
- Ignoring CMAKE_OSX_SYSROOT value
- centos7
- vgcreate
- pf.anchors
- fielddata
- physicaldisk
- update
- aix compile
- 물리디스크
- yum
- lvremove
- aix ld
- mirrorlist
- lvm 늘리기
- virtualbox
- 센트6
- CMAKE_OSX_SYSROOT
- install
- Repository
- pfctl
- _status
- firewall-cmd service
- linux
- CLion
- noipath
- postgresql11
- _stats
- CentOS
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함