728x90
[Trouble Shooting] Unable to open JDBC Connection for DDL execution error 발생
hibernate:ddel-auto: update 주석jpa: hibernate.hbm2ddl.auto: update로 변경해 해결https://velog.io/@ssonzm/SPRING-%EC%97%90%EB%9F%AC-%ED%95%B4%EA%B2%B0
velog.io
아래와 같은 오류 발생...
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 |