728x90
아래와 같은 오류 발생...
caused by: javax.persistence.PersistenceException: [PersistenceUnit: default] Unable to build Hibernate SessionFactory; nested exception is org.hibernate.exception.JDBCConnectionException: Unable to open JDBC Connection for DDL execution
해결방법
- spring.jpa.hibernate.ddl-auto: update 를 주석 처리
- spring.jpa.hibernate.hbm2ddl.auto: update로 변경!
'MariaDB' 카테고리의 다른 글
[MariaDB] please set 'javax.persistence.jdbc.url', 'hibernate.connection.url', or 'hibernate.dialect' 오류 해결 (0) | 2024.04.19 |
---|---|
[MariaDB] SpringBoot와 MariaDB 연결 (0) | 2024.04.19 |
[MariaDB] Unknown database 'db명'. 오류 해결 (0) | 2024.04.19 |
[MariaDB] Datagrip에서 MariaDB 연결하기 (0) | 2024.04.19 |