Activiti启报错: Cannot create PoolableConnectionFactory (Could not create connection to database server

Posted 不允许摆烂

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Activiti启报错: Cannot create PoolableConnectionFactory (Could not create connection to database server相关的知识,希望对你有一定的参考价值。

 报错信息如下

Caused by: org.activiti.engine.ActivitiException: couldn't check if tables are already present using metadata: Cannot create PoolableConnectionFactory (Could not create connection to database server.)

部分截图

解决思路

导入的mysql包版本太新,所对应的mysql数据库跟不上版本

我这个是因为我本地是8.0的mysql版本,但是引入的jar是5.7的,就会报这个版本对不上的错,把jar包版本和数据库保持一致即可,驱动也要记得换,8.0的话要加上cj

以上是关于Activiti启报错: Cannot create PoolableConnectionFactory (Could not create connection to database server的主要内容,如果未能解决你的问题,请参考以下文章

Mysql启报错报The server quit without updating PID file

Jmeter中连接Oracle报错Cannot create PoolableConnectionFactory

Zabbix agent启动报错:cannot create semaphore set

weblogic 整合cxf 报错:cannot create a secure XmlInputFactory

jmeter连接mysql数据库报错Cannot create PoolableConnectionFactory (Could not create connection to database s

docker启动报错解决及分析(Cannot create container for service *******: cannot mount volume over existing file,