这是链接工作流超时了???? 还是连不上???

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

慕雪7699176

2021-05-15

WARN   Resolved [cn.hutool.core.io.IORuntimeException: ConnectException: Connection timed out: connect]

这是链接工作流超时了????  还是连不上???

写回答

3回答

慕雪7699176

提问者

2021-05-16

//img.mukewang.com/szimg/60a06f1109f44c4507360753.jpg

我的天!!!  是MYSQL里面没有打开远程链接权限,所以用到Linux系统里面就没有办法链接win下的MYSQL


0
0

慕雪7699176

提问者

2021-05-15

Caused by: java.sql.SQLException: null,  message from server: "Host '192.168.2.100' is not allowed to connect to this MySQL server"

at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:129)

at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97)

这是日志文件里面的


url: jdbc:mysql://192.168.2.102:3306/emos?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai

      username: root

      password: abc123456

      initial-size: 4

      max-active: 8

      min-idle: 4

      max-wait: 60000

      test-while-idle: false

      test-on-borrow: true

      test-on-return: false

可是我明明已经把yml文件里面的url改了,怎么日志输出还是不一样的

0
0

神思者

2021-05-15

连接不上工作流程序,检查你的工作流程序进程是否启动了,还有你的工作流运行在虚拟机还是云主机上面?

0
1
慕雪7699176
Caused by: java.sql.SQLException: null, message from server: "Host '192.168.2.100' is not allowed to connect to this MySQL server" at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:129) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) 这是日志文件里面的 url: jdbc:mysql://192.168.2.102:3306/emos?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai username: root password: abc123456 initial-size: 4 max-active: 8 min-idle: 4 max-wait: 60000 test-while-idle: false test-on-borrow: true test-on-return: false 可是我明明已经把yml文件里面的url改了,怎么日志输出还是不一样的
2021-05-15
共1条回复

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

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

1798 学习 · 1915 问题

查看课程