
[AWS] 502 Bad Gateway: MySQL 데이터베이스 접근 권한 거부 오류
·
Backend/AWS
git repository를 AWS EC2에 배포하기 위해, AWS EC2를 세팅하는 과정에서 발생했던 오류이다.오류pm2 log를 입력하여 오류 내용을 확인해보았다./home/ubuntu/.pm2/logs/index-error.log last 15 lines:0|index | at Connection.handlePacket (/Do-IT/node_modules/mysql2/lib/connection.js:478:34)0|index | at PacketParser.onPacket (/Do-IT/node_modules/mysql2/lib/connection.js:97:12)0|index | at PacketParser.executeStart (/Do-IT/n..