Monday, November 21, 2011

Re: Issue connecting SQL

Hello Brian,

Here is my VM settings

-Ddatastore.default_high_rep_job_policy_unapplied_job_pct=50 -Xmx512m "-javaagent:C:\Program Files (x86)\eclipse\plugins\appengine-java-sdk-1.6.0\lib\agent\appengine-agent.jar" 
-Drdbms.server=local 
-Drdbms.driver=com.mysql.jdbc.Driver 
-Drdbms.url=jdbc:mysql://localhost:3306/yourdatabase?user=username&password=password


  java.sql.SQLException: Communications link failure  The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.

Caused by:

javax.servlet.ServletException: java.sql.SQLException: Communications link failure  The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.  at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:862)


Thanks,
Bala


No comments:

Post a Comment