Open ghost opened 7 years ago
dataSource:
driverClassName: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://127.0.0.1:3306/spring_blog?serverTimezone=UTC
username: root
password: root
this spring_blog database , you need to replace it to your db. started, hibernate will generated table file to you database.
Caused by: org.hibernate.tool.schema.spi.SchemaManagementException: Unable to execute schema management to JDBC target [alter table users add column createdAt datetime not null]
我的也是这样的,数据库配置是没有问题的,只有user的创建有问题,其他表都ok
@Raysmond It has been 4 month, please?
我重新clone了一份下来,配置好数据库,完全没问题启动。请确保数据库配置的链接,数据库名,用户名,密码都正确。
Hi Raysmond
I encounter this error as I start the application. Here is the log
and here is my config
So I don't konw how to config to run properly. Would you tell me where I got wrong?? Thanks