3.8K Star 12.8K Fork 4.7K

卓源软件 / JeeSite 4.3

 / 详情

jeesite4.3初始化本地MySQL8.0.15数据库失败

Backlog
Opened this issue  
2021-09-29 15:59

该问题是怎么引起的?

执行脚本/web/bin/init-data.bat初始化localhost本地MySQL8.0.15数据库失败

重现步骤

将数据库改为局域网内的MySQL5.7就可以初始化成功。切换成本地的的初始化失败。

报错信息

java.sql.SQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.

ERROR [c.j.common.datasource.RoutingDataSource] - Init data source error: default

Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Property 'dataSource' is required



Comments (1)

覆手倾天下 created任务
Expand operation logs

支持8,看错误应该是没有连上数据库,确定数据库是否正常,检查你的mysql驱动是不是8版本的。

Sign in to comment

Status
Assignees
Milestones
Pull Requests
Successfully merging a pull request will close this issue.
Branches
Planed to start   -   Planed to end
-
Top level
Priority
参与者(2)
6732 thinkgem 1578914432
Java
1
https://gitee.com/thinkgem/jeesite4.git
git@gitee.com:thinkgem/jeesite4.git
thinkgem
jeesite4
JeeSite 4.3

Search

141041 ab9339c7 1850385 141043 25c028d5 1850385