Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,152,717 members, 7,816,955 topics. Date: Friday, 03 May 2024 at 09:07 PM

Unexpected End Of Input Stream - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Unexpected End Of Input Stream (135 Views)

Check If Input Is Number Javascript / Unexpected Error 1344 / Unexpected Error 35012. (2) (3) (4)

(1) (Reply)

Unexpected End Of Input Stream by jackaustin631: 4:37am On Sep 04, 2023
Hi Leslie,

I had the same problem. Just in case you didn't find it, there might be an older version of the driver in /Library/Java/Extensions - not sure where it came from. Maybe from CocoaMySQL?

Deleting that older version and using 3.1 fixed it for me.

Best wishes

John Prince

Mark Matthews wrote:
> Leslie Lowry wrote:
> > I'm having a similar problem. I'm running a
> java
> > application which attempts to retrieve items
> from
> > a database MySQL version 4.1 on Mac OS X
> Panther.
> > My application works fine on Windows and
> Linux
> > environments but on Mac I'm seeing a very
> similar
> > stack as yours...
> >
> > java.sql.SQLException: 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:109
>
> > 6)
> > at
> >
> com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:62
>
>
> This stack trace tells me you're using an older
> version of the driver that doesn't know how to
> connect to MySQL-4.1 (the authentication protocol
> changed in MySQL-4.1).
>
> Make sure you're using the latest version of the
> driver, and that you don't have older versions
> laying around in your classpath.
>
> -Mark
>
Re: Unexpected End Of Input Stream by jackaustin631: 4:38am On Sep 04, 2023
jackaustin631:
Hi Leslie,

I had the same problem. Just in case you didn't find it, there might be an older version of the driver in /Library/Java/Extensions - not sure where it came from. Maybe from CocoaMySQL?

Deleting that older version and using 3.1 fixed it for me.

Best wishes

John Prince

Mark Matthews wrote:
> Leslie Lowry wrote:
> > I'm having a similar problem. I'm running a
> java
> > application which attempts to retrieve items
> from
> > a database MySQL version 4.1 on Mac OS X
> Panther.
> > My application works fine on Windows and
> Linux
> > environments but on Mac I'm seeing a very
> similar
> > stack as yours...
> >
> > java.sql.SQLException: 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:109
>
> > 6)
> > at
> >
> com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:62
>
>
> This stack trace tells me you're using an older
> version of the driver that doesn't know how to
> connect to MySQL-4.1 (the authentication protocol
> changed in MySQL-4.1).
>
> Make sure you're using the latest version of the
> driver, and that you don't have older versions
> laying around in your classpath.
> Unexpected end of input stream
> -Mark
>
thanks in advance for any

(1) (Reply)

Enhancing Cyber Threat Protection In Dallas: A Comprehensive Guide / Why NFT Marketplace Solutions Are Dominating The New NFT Project Landscape? / What Is Real-time Chat Software?

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 14
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.