DEV Community

sunj
sunj

Posted on

AWS, CentOS MySQL install

https://dev.mysql.com/downloads/repo/yum/

접속

sudo dnf install https://dev.mysql.com/get/mysql80-community-release-el9-1.noarch.rpm
Enter fullscreen mode Exit fullscreen mode
sudo vi /etc/yum.repos.d/mysql-community.repo
Enter fullscreen mode Exit fullscreen mode

'[mysql80-community]' 항목의 'gpgcheck' 옵션을 'gpgcheck=0' 이렇게 수정한다

sudo dnf install mysql-community-server
Enter fullscreen mode Exit fullscreen mode
systemctl start mysqld
Enter fullscreen mode Exit fullscreen mode

_참조 : https://engineeringcode.tistory.com/entry/CentOS7-MySQL-80-%EC%84%A4%EC%B9%98
https://www.inflearn.com/community/questions/884613/%EB%A6%AC%EB%88%85%EC%8A%A4-mysql-%EC%84%A4%EC%B9%98-%EC%98%A4%EB%A5%98-%EB%9C%A8%EC%8B%9C%EB%8A%94-%EB%B6%84%EB%93%A4
_

Top comments (0)