首页 > 解决方案 > 如何在openempi中配置mysql?

问题描述

我想在openempi中配置mysql,我没有找到任何关于这个配置的指令,他们已经给出了关于postgresql的指令。但是根据他们对 postgresqul 的指示,我对 jdbc.properties 进行了以下更改。

  1. jdbc.driverClassName=com.mysql.jdbc.Driver
  2. jdbc.url=jdbc:mysql://localhost:3306/
  3. jdbc.username=
  4. jdbc.密码=
  5. hibernate.dialect=org.hibernate.dialect.MySQLDialect

更改后,当我启动 openempi 时,它从“create_database_schema.sql”文件创建了所有表,但它抛出如下错误:

“字段列表”中的未知列“identifier0_.identifier_domain_description”在设置 bean 属性“entityDefinitionManagerService”时无法解析对 bean“entityDefinitionManagerService”的引用

标签: mysqljdbcconfiguration

解决方案


尝试设置您的 localhost Mysql 用户名/密码。MySql 中的默认用户名是root,密码是 ``,如果你没有修改这些。

jdbc.username=root
jdbc.password=

推荐阅读