백엔드/Spring
[spring] (pgjdbc: autodetected server-encoding to be ISO-8859-1, if the message is not readable, please check database logs and/or host, port, dbname, user, password, pg_hba.conf)
작은소행성
2022. 3. 31. 15:31
postgresql 에 데이터를 삽입하는 과정에서 생긴 오류였다.
org.postgresql.util.PSQLException: ì¤ë¥: "ì " ê°ì "MM"ì ì í¨íì§ ìì (pgjdbc: autodetected server-encoding to be ISO-8859-1, if the message is not readable, please check database logs and/or host, port, dbname, user, password, pg_hba.conf)
Detail: ê°ì ì ìì¬ì¼ í©ëë¤.
오류가 발생한 이유는 DB User 정보를 잘못 적었거나 User 정보가 없을 경우에 발생한다고 한다.
DB업데이트가 이루어지면서 User 정보를 못찾아서 생긴 오류 같았다.
JDBC 설정 시 DB 관련 정보가 정확하게 기재되어 있는지 확인한다.
반응형