Closed hainho closed 2 years ago
ec2 인스턴스 재부팅 후 mysql 접속 안됨
sudo mysql -u root -p 실행시 Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' 에러 발생
https://algo79.tistory.com/entry/MySQL-%EC%97%90%EB%9F%AC
mysql 이 실행되어 있지 않아서 발생한 문제
/usr/bin/mysqld_safe --user=mysql &
으로 실행하여 해결 완료
제목
ec2 인스턴스 재부팅 후 mysql 접속 안됨
이슈에 대한 설명
ec2 인스턴스 재부팅 후 mysql 접속 안됨
sudo mysql -u root -p 실행시 Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' 에러 발생
checkList
주의사항