EC2
mysql -uroot
failed with error 2002
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
-> in my case mariadb service was inactivated because I stopped and restart the instance
-> so I ran commands
systemctl enable mariadb
systemctl start mariadb
'IT 인프라, 개발' 카테고리의 다른 글
[ReactNative] error :Duplicate class androidx.appcompat.... (0) | 2022.06.15 |
---|---|
[React native] troubleshooting, react-native-track-player (0) | 2022.03.26 |
vscode git athentication 관련 오류 (0) | 2021.11.13 |
2021-11-10(P2E 게임) (0) | 2021.11.10 |
댓글