mysql - 如何在openempi中配置mysql?
问题描述
我想在openempi中配置mysql,我没有找到任何关于这个配置的指令,他们已经给出了关于postgresql的指令。但是根据他们对 postgresqul 的指示,我对 jdbc.properties 进行了以下更改。
- jdbc.driverClassName=com.mysql.jdbc.Driver
- jdbc.url=jdbc:mysql://localhost:3306/
- jdbc.username=
- jdbc.密码=
- hibernate.dialect=org.hibernate.dialect.MySQLDialect
更改后,当我启动 openempi 时,它从“create_database_schema.sql”文件创建了所有表,但它抛出如下错误:
“字段列表”中的未知列“identifier0_.identifier_domain_description”在设置 bean 属性“entityDefinitionManagerService”时无法解析对 bean“entityDefinitionManagerService”的引用
解决方案
尝试设置您的 localhost Mysql 用户名/密码。MySql 中的默认用户名是root
,密码是 ``,如果你没有修改这些。
jdbc.username=root
jdbc.password=
推荐阅读
- reactjs - 如何使用 React useRef 避免 TypeScript 错误?
- raspbian - 未安装 Apache 配置文件
- sql - 使用 Pymssql 将数据插入 MS SQL DB 时出错
- java - 无法解决“清单合并失败:属性 application@appComponentFactory”
- r - r papaja::printnum(0L, numbers =F) 返回空值,而不是“零”
- javascript - 动态形式的价值转移错误信息
- python - 根据 YAML 1.1 规范,“是”真的是“真”的别名吗?1.2规范?
- c++ - 多项目解决方案中类导入的正确方法是什么
- arrays - 在其 didSet 中过滤数组
- python - 在 matplotlib 中绘图后隐藏线