codestates / codestates/AnimalChat
[Error Handling] 데이터베이스 연결시 오류
Open
error
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
## 어떤 에러인가요?
- 데이터베이스 연결시 나오는 접속이 되지 않는 에러
## 에러 메시지
```jsx
{
code: 'ER_ACCESS_DENIED_ERROR',
errno: 1045,
sqlState: '28000',
sqlMessage: "Access denied for user 'root'@'localhost' (using password: YES)",
sql: undefined
},
original: Error: Access denied for user 'root'@'localhost' (using password: YES)
```
## 에러 핸들링 방법
- 핸들링 방법에 대해 글이나 코드로 작성해주세요.
```jsx
config.js 혹은 config.json 파일에서 데이터베이스 접속 비밀번호 수정하면 연결이 잘 됨
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.