• Post Reply Bookmark Topic Watch Topic
  • New Topic

Failed communicate with MYSQL Database  RSS feed

 
gah hon
Greenhorn
Posts: 28
C++ Chrome Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
SQLState: 08S01
VendorError: 0
java.lang.NullPointerException


The statement from the above is the error I got after I executed my program.
I am using MYSQL Workbench to connect RDS Amazon.
I had create one new database named ("kwongDB"), connection named ("COS80001"), in my MYSQL Workbench.


 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!