여러가지/DBMS (34) 썸네일형 리스트형 [MySQL][CentOS7] 8.0 설치 CentOS7에 MySQL 8.0 설치하는 거 생각보다 아주 까다롭다.패키지도 없더니, GPG 키도 없다.하지만! 해결 완료했다. 도움되길 바랍니다🥲 아래는 일반적인 MySQL 설치 방법이다.오류가 발생했다면 스크롤을 내려 확인 바랍니다. (1) 시스템의 모든 패키지 최신 버전으로 업데이트 (약 10분 소요)# yum update -y (2) mysql-server 설치# yum install mysql-server (3) 버전 및 설치 확인# mysql --version (4) 서비스 시작 및 부팅 시 자동 시작 설정# systemctl start mysqld# systemctl enable mysqld# systemctl status mysqld [오류 1] m.. [설치] MariaDB Step 1. MariaDB 구축# yum install mariadb-server mariadb# systemctl enable --now mariadb# systemctl status mariadb Step 2. 방화벽# firewall-cmd --add-service=mysql# firewall-cmd --list-all Step 3. mysql 보안 강화# mysql_secure_installation Step 4. mysql 접속# mysql -u root -p Step 5. mysql 상태 확인# systemctl -l status mariadb // -l: 상세 정보# grep mysql /etc/services# netstat -antp | grep :3306 // -antp: .. 이전 1 2 3 4 5 다음