TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received type number (1234)

dowon kim·2022년 2월 10일
0

해당 오류는 mysql2 의 config.json에 문자열 대신 다른게 들어가서 생기는 오류이다.


string이 들어가야하는 password 부분을

다음과 같이 바꿔주면 해결

profile
The pain is so persistent that it is like a snail, and the joy is so short that it is like a rabbit's tail running through the fields of autumn

0개의 댓글