This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am currently doing an web application which required data to be retrieved from the MySQL database. I am currently using eclipse EE to write my
JSP scripts. But there is something wrong with the server connection.
Here's my code
The system is always printing the " You are not an authentic licensee" even I am submitting the right details to be database. The console printing the message of "The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. Exception is ;com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure"
Please advise. Thanks in advance