Jump to content
We've recently updated our Privacy Statement, available here ×

Problem during Database JDBC connection


Recommended Posts

By: vivaspeed - vivaspeed

Problem during Database JDBC connection

2005-07-26 02:55

Hi,

 

I am a beginner for iReport and jasperreports.

 

I've mysql in localhost and port 3360 in my pc.

I trying to get the database JDBC connection for iReport configure setting.

 

The step I did as below:

I entry the Server Address field - "localhost:3306"

and my database "mysql"... I click for the Wizard button. And select the JDBC Driver "com.mysql.jdbc.Driver" and I try also "org.gjt.mm.mysql.Driver"

 

However, the windows prompt for some error message:

 

<truncate>

 

SQL problems:

Communication link failure: java.io.IOException,underlying cause:Unexpected end of input stream

 

** BEGIN NESTED EXCEPTION**

 

java.io.IOException

MESSAGE:Unexpected end of input stream

 

STACKTRACE:

java.io.IOException:Unexpected end of input stream

at com.mysql.jdbc.MysqlIO.readPacket(MysqlIO.java:1096)

at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java.626)

at com.mysql.jdbc.Connection.createNewIO(Connection.java:1562)

at com.mysql.jdbc.Connection.<init>(Connection.java:491)

at com.mysql.jdbc.NOnRegisteringDriver.connect(NonRegisteringDriver.java:346)

 

</truncate>

 

Additional info, the environment I have here:

- iReport-0.5.0 version

- jasperreports-1.0.0.jar

- mysql-essential-4.1.13-win32

- jdk1.5.0_03

 

Kindly advise.

 

Thank you very much.

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...