• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Failed communicate with MYSQL Database

 
gah hon
Greenhorn
Posts: 26
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.


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic