MYSQL COMMUNITY 버전 설치
엔드포인트와 계정 정보를 https://github.com/depromeet/BEERAiR-secret 추가
rds 보안그룹 생성
ec2에 mysql 설치하고 rds 연결하자
# rds username: root
[ec2-user@ip-172-31-53-183 ~]$ mysql -u root -p --host sulsul-real-db.cmygx0mjyxpw.ap-northeast-2.rds.amazonaws.com
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \\g.
Your MySQL connection id is 23
Server version: 8.0.28 Source distribution
Copyright (c) 2000, 2022, Oracle and/or its affiliates.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\\h' for help. Type '\\c' to clear the current input statement.
mysql>