Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- EC2
- port
- terraform
- 인스턴스타입
- Query
- 센토스
- EBS
- ntp
- Linux
- x-real-ip
- deragistration
- VPN
- resize2fs
- fdisk
- 아마존
- Windows
- AWS
- centos
- Error
- ubuntu
- xen
- nvme
- x-forward-for
- mysql
- 리눅스
- RDS
- onpromise
- DISK
- awscli
- DELETE
Archives
- Today
- Total
Cloud
MYSQL 5.7.9 이후버전 root 암호 설정 본문
mysql 5.7 부터는 암호 변경 방식에 약간 차이가 있다.
5.7 이전 방식
update mysql.user set password=password('2261bbs') where user='root';
FLUSH PRIVILEGES;
5.7 이후방식
use mysql;
SET SQL_SAFE_UPDATES =0;
update user set authentication_string=password('ZaCZ1HDaBa75UT2Z') where user='root';
FLUSH PRIVILEGES;
Comments