主题 : jspgou安装后hibernate连接不上数据库 |
级别: 白丁
|
1# 发表于:2015-09-11 10:28:01 IP:211.30.*.*
|
||||
---|---|---|---|---|---|
级别: 白丁
|
3# 发表于:2015-09-11 10:33:53 IP:211.30.*.*
jspgou\4.5\ROOT\WEB-INF\config\jdbc.properties
这个文件吧,已经配置过了。网站安装步骤已经执行过了,已经把数据库表初始化进去了。 |
||
---|---|---|---|
级别: 版主
|
4# 发表于:2015-09-11 10:36:34 IP:182.15.*.*
修改mysql5的配置文件“my.ini”(mysql5 installation dir),增加一行:wait_timeout=1814400,这个好像是你mysql的配置问题
|
||
---|---|---|---|
级别: 白丁
|
5# 发表于:2015-09-11 10:54:54 IP:211.30.*.*
九月 11, 2015 10:48:28 上午 org.apache.catalina.startup.TldConfig execute
信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. 10:49:41.639 ERROR org.hibernate.util.JDBCExceptionReporter - Could not create connection to database server. Attempted reconnect 3 times. Giving up. 10:49:50.358 ERROR org.springframework.web.servlet.DispatcherServlet - Context initialization failed |
||
---|---|---|---|
级别: 白丁
|
7# 发表于:2015-09-11 10:55:53 IP:211.30.*.*
已经修改mysql了,还是不行呀!
wait_timeout=1814400 |
||
---|---|---|---|