APPARENT DEADLOCK!!! Creating emergency threads for unassigned pending tasks!

来源:互联网 发布:mac os 10.10下载 编辑:程序博客网 时间:2024/05/22 16:03
2015-03-27 16:27:54,054--[Timer-1hread]--WARN --com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector.run(ThreadPoolAsynchronousRunner.java:608)com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@43487e -- APPARENT DEADLOCK!!! Creating emergency threads for unassigned pending tasks!
2015-03-27 16:27:54,054--[Timer-1hread]--WARN --com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector.run(ThreadPoolAsynchronousRunner.java:624) com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@43487e -- APPARENT DEADLOCK!!! Complete Status: 

Managed Threads: 3



 

java.sql.SQLException: null, message from server: "Host 'xxx' is not allowed to connect

可能是数据库不能被原创访问,只能是localhost访问。

[sql] view plaincopyprint?
  1. use mysql ;  
  2.   
  3. select user,host,password from user;  
  4.   
  5. update user set host = '%' where user='root';  


 


---what’s mean??


数据库连接的是本机地址,,把本机ip改为localhost 就ok啦

 

0 0
原创粉丝点击