spring-guides / gs-accessing-data-mysql

Accessing data with MySQL :: Learn how to set up and manage user accounts on MySQL and how to configure Spring Boot to connect to it at runtime.
http://spring.io/guides/gs/accessing-data-mysql/
Apache License 2.0
201 stars 314 forks source link

ERROR hibernate java.sql.SQLSyntaxErrorException: Table 'mydatabase.user_seq' doesn't exist #67

Open eldom9 opened 3 weeks ago

eldom9 commented 3 weeks ago

Hi team,

Today I was going through this guide and stumbeld over the following error when first started the application.

hibernate java.sql.SQLSyntaxErrorException: Table 'mydatabase.user_seq' doesn't exist

To come out of that situation I had to add the following line to my application.properties file:

spring.jpa.hibernate.ddl-auto=update

Maybe you can add this to the instructions?

best regards, Dominik