首页  >  文章  >  数据库  >  服务器-mysql 权限问题 Permission denied: connect

服务器-mysql 权限问题 Permission denied: connect

WBOY
WBOY原创
2016-06-06 09:37:053464浏览

服务器mysqltomcat

Servlet.service() for servlet [mvc-dispatcher] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open JDBC Connection for transaction; nested exception is java.sql.SQLNonTransientConnectionException: Could not connect to localhost:3308 : Permission denied: connect] with root cause
java.net.SocketException: Permission denied: connect
重装的服务器系统,重新部署的一个tomcat ,里面有3,4个项目,和特定的请求没关系,因为相同请求大部分时候是好的,隔一段时间就会报这个错误。除非重启mysql服务才恢复正常。

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn