🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.database
Article #202

MySql connection - java.io.IOException - unexpected end of input stream

#202
From: adri
Date: Sun, 11 Jun 2006 17:17
64 lines
3469 bytes
I use JBuilder x  with MySQL Server 4.1 (WinXP)
driver ver. - mysql-connector-java-3.1.0-alpha-bin.jar -
create library Mysql
i put renamed mysql-connector-java-3.1.0-alpha-bin.jar in mysql.jar inside
Library Folder mysql
and Jbuilder/lib/ext and ..../j2re../lib/ext

Using enterprise setup it created mysql.config
----------------
addpath C:/PROJECT/MYSQL/MYSQL.JAR
(my library folder)
-----------------------------------
using database pilot i put name of driver(com.mysql.jdbc.Driver) in the list
because i couldn't find it !!

service is Ok i connect with Mysql Control Center
but testing connection on Jbuilder connection windows ........error

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:339) at
com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:782) at
com.mysql.jdbc.Connection.createNewIO(Connection.java:1585) at
com.mysql.jdbc.Connection.<init>(Connection.java:524) at
com.mysql.jdbc.Driver.connect(Driver.java:359) at
java.sql.DriverManager.getConnection(DriverManager.java:512) at
java.sql.DriverManager.getConnection(DriverManager.java:171) at
com.borland.dx.sql.dataset.Database.openConnection(Unknown Source) at
com.borland.jbuilder.cmt.editors.l.c(Unknown Source) at
com.borland.jbuilder.cmt.editors.l.actionPerformed(Unknown Source)
...............
** END NESTED EXCEPTION **

trying connection with a new datamodule same problem

** 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:339) at
com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:782) at
com.mysql.jdbc.Connection.createNewIO(Connection.java:1585) at
com.mysql.jdbc.Connection.<init>(Connection.java:524) at
com.mysql.jdbc.Driver.connect(Driver.java:359) at
java.sql.DriverManager.getConnection(DriverManager.java:512) at
java.sql.DriverManager.getConnection(DriverManager.java:171) at
com.borland.dx.sql.dataset.Database.openConnection(Unknown Source) at
com.borland.jdbcx.metadata.DatabaseInfo.openConnection(Unknown Source) at
com.borland.jdbcx.metadata.e.run(Unknown Source)

** END NESTED EXCEPTION **
Technical Details
Message-ID: <8fYig.32886$cX1.519745@twister2.libero.it>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!nntp.infostrada.it!twister2.libero.it.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 1073da,f920a9d87e5f23c9,start
X-Google-Attributes: gid1073da,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!nntp.infostrada.it!twister2.libero.it.POSTED!not-for-mail
From: "adri" <world30@libero.it>
Newsgroups: borland.public.jbuilder.database
Subject: MySql connection -  java.io.IOException - unexpected end of input stream
Lines: 67
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Message-ID: <8fYig.32886$cX1.519745@twister2.libero.it>
Date: Sun, 11 Jun 2006 17:17:56 GMT
NNTP-Posting-Host: 151.25.89.252
X-Complaints-To: abuse@libero.it
X-Trace: twister2.libero.it 1150046276 151.25.89.252 (Sun, 11 Jun 2006 19:17:56 MET DST)
NNTP-Posting-Date: Sun, 11 Jun 2006 19:17:56 MET DST
Organization: [Infostrada]