DBMS & NoSQL MySQL Current: RHEL/CentOS 에 MySQL 8 설치하기 RHEL/CentOS 에 MySQL 8 설치하기 package 로 설치저장소 설치 dnf install https://dev.mysql.com/get/mysql80-community-release-el8-1.noarch.rpm MySQL 서버 설치 dnf install mysql-server 서비스 활성화 systemctl enable mysqld systemctl restart mysqld mysql root 로 연결(초기 암호 없음) mysql -u root 만약 암호가 다르다고 나오면 다음 명령어로 임시 암호를 찾아서 입력 grep password /var/log/mysqld.log mysql 콘솔에서 root 사용자 암호 변경 mysql> SET PASSWORD FOR 'root'@'localhost' = 'secret'; 같이 보기MySQL 8 암호 정책(Password policy) 확인 및 수정하기WSL 2 Ubuntu 20 에 MySQL 8 설치RHEL/CentOS, Ubuntu 에 MySQL 5.6, 5.7 설치하기Refhttps://dev.mysql.com/doc/refman/8.0/en/set-password.html scroll-help-center-pinned-page Please enable JavaScript to view the comments powered by Disqus. blog comments powered by Disqus ×