mysql

 1.使用mysql数据库时,产品初始化插件失败

提示如下错误:

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'platform_pluginmgr' defined in file [/var/lib/tomcat/webapps/qbi/WEB-INF/classes/com/esen/platform/plugin/ActivexPluginsManager.class]: Invocation of init method failed; nested exception is com.esen.exception.RuntimeException4I18N: 初始化插件管理器失败!

解决步骤:

[mysqld]下面添加max_allowed_packet =20M,添加完毕重启MySQL服务器。Windows修改my.inilinux修改/etc/my.cnf

[mysqld]

max_allowed_packet =20M

另外还需要加上表名不区分大小写参数(该参数存在风险,修改后原库数据无法使用,建议在安装新数据库后修改

Lower_case_table_names=1


附件列表

0

文档内容仅供参考
如果您需要解决具体问题,还可以登录亿信社区
在提问求助板块提问,30分钟内帮您解决问题

如果您认为本词条还有待完善,请编辑

上一篇db2

下一篇

请先登录