Java Spring boot参数更新模型数据库don';行不通

Java Spring boot参数更新模型数据库don';行不通,java,spring,spring-boot,hibernate,Java,Spring,Spring Boot,Hibernate,我将该值设置为updatevalue,以便在数据库中根据定义的数据模型自动创建一个表。 但它不起作用,我的财产有什么问题? 数据库:Mysql spring.jpa.hibernate.naming.implicit-strategy=org.hibernate.boot.model.naming.ImplicitNamingStrategyLegacyJpaImpl spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot

我将该值设置为updatevalue,以便在数据库中根据定义的数据模型自动创建一个表。 但它不起作用,我的财产有什么问题? 数据库:Mysql

spring.jpa.hibernate.naming.implicit-strategy=org.hibernate.boot.model.naming.ImplicitNamingStrategyLegacyJpaImpl
spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl

spring.servlet.multipart.max-file-size=2MB
spring.servlet.multipart.max-request-size=2MB


server.port=8081
server.servlet.session.timeout=1200
spring.datasource.url=jdbc:mysql://localhost:3306/test?useSSL=false&zeroDateTimeBehavior=CONVERT_TO_NULL&serverTimezone=UTC
spring.datasource.username= root
spring.datasource.password=
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.jpa.show-sql=true
spring.jpa.hibernate.ddl-auto=update

spring.jpa.properties.hibernate.dialect= org.hibernate.dialect.MySQL5InnoDBDialect

spring.jpa.database-platform: org.hibernate.dialect.MySQL5InnoDBDialect
spring.jpa.properties.hibernate.storage.storage_engine=innodb

spring.security.user.name="root"
spring.security.user.password="123"
spring.resources.add-mappings=true

与“spring.jpa.hibernate.ddl auto=update”的一般冲突是什么?请确保数据库连接字符串有效。 尝试更改
spring.datasource.url=jdbc:mysql://localhost:3306/test?useSSL=false&zeroDateTimeBehavior=CONVERT_TO_NULL&serverTimezone=UTC 


您数据库的名称是“test”,但它真的是吗?

是的,它是用xampp创建的。数据库表的大写命名约定不一致也可能是导致此问题的一个问题。请使用缓存,因为我将所有内容都用小写字母表示,并创建了一个新(空)数据库“testdb”,但我仍然可以访问旧数据库
java.sql.SQLSyntaxErrorException: Table 'test.files' doesn't exist