主题 : 数据库连接出错 |
级别: 童生
![]() |
1# 发表于:2020-12-11 15:04:06 IP:120.152.*.*
|
||||
---|---|---|---|---|---|
级别: 管理员
![]() |
2# 发表于:2020-12-11 15:06:53 IP:111.200.*.*
回复第1楼您按文档操作啊,部分jar爆红是正常的,当您配好自己的maven私服仓库就不会啦
|
||
---|---|---|---|
级别: 童生
![]() |
4# 发表于:2020-12-11 15:11:47 IP:120.152.*.*
回复第2楼
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) 启动报这个错, spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver 这个配置项后面的“.cj.jdbc.Driver” 报红 |
||
---|---|---|---|
级别: 童生
![]() |
6# 发表于:2020-12-11 15:19:14 IP:120.152.*.*
回复第2楼
请教一下 根据所连数据库修改quartz.properties文件的org.quartz.jobStore.driverDelegateClass属性 连接mysql 数据库的话,上面的参数填写 org.quartz.impl.jdbcjobstore.MSSQLDelegate还是 现在默认的 org.quartz.impl.jdbcjobstore.StdJDBCDelegate |
||
---|---|---|---|
级别: 童生
![]() |
7# 发表于:2020-12-11 15:20:31 IP:120.152.*.*
回复第5楼
application-beta.properties配置: #hibernate\u662F\u5426\u663E\u793Asql\u6216\u683C\u5F0F\u5316\u663E\u793A spring.jpa.properties.hibernate.show_sql=true spring.jpa.properties.hibernate.format_sql=false spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver spring.datasource.url=jdbc:mysql://192.168.141.129:3306/jeecms?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 spring.datasource.username=root spring.datasource.password=123456 |
||
---|---|---|---|