centos 工作流报错

来源:10-17 保存会议记录(移动端)

起航阳仔

2021-08-01

图片描述ERROR init datasource error, url: jdbc:mysql://localhost:3306/emos?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure

写回答

2回答

神思者

2021-08-01

你的centos上面没有安装MySQL,工作流连接localhost数据库找不到,URL写你windows主机的IP地址。

0
1
起航阳仔
在centos中按照docker 镜像 容器,3个层级分清楚后,我关掉进程,删掉镜像重新,在新建镜像,导入正确的jar,启动进行,就好使了
2021-08-01
共1条回复

起航阳仔

提问者

2021-08-01

//img.mukewang.com/szimg/6106854109faad6d25341108.jpg导入正确IP就好

0
0

SpringBoot 在线协同办公小程序开发 全栈式项目实战

未来趋势型业务 + 前后端综合技术栈 + 惊艳的细节打磨

1798 学习 · 1915 问题

查看课程