Skip navigation links

MySQL Forums


Advanced Search

could not connect mysql to jsp
Posted by: Muhammad Siddiq ()
Date: November 12, 2008 05:41AM

i have uploaded mysql using phpmyadmin and after uploading the files using ftp, i tried viewing the pages but receive a number of errors.. as such

BConnect.jsp >Unable to connect to database.com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION ** com.mysql.jdbc.CommunicationsException MESSAGE: Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION ** java.io.EOFException STACKTRACE: java.io.EOFException at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1963) at com.mysql.jdbc.MysqlIO.readPacket(MysqlIO.java:557) at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1027) at com.mysql.jdbc.Connection.createNewIO(Connection.java:2743) at .... the list goes on..
another alternate, will provide the url, the error message will appear..
http://www.lesoleil-sg.com:8080/lesoleil-sg/contactUs.jsp
---------------------

Kindly i need some assistance in solving this problem as my connection string is as stated..
con = DriverManager.getConnection("jdbc:mysql://www.lesoleil-sg.com:8080/lesoleilfleurie","xx", "xx");

pls help me in this issues?
thanks

Options: ReplyQuote


Subject Written By Posted
could not connect mysql to jsp Muhammad Siddiq 11/12/2008 05:41AM


Sorry, you can't reply to this topic. It has been closed.