-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Scott Pippin wrote:
> MySQL 4.1.1 > Connector/j 3.1 nightly - 20040212 > > I recently upgraded to MySQL 4.1 and am trying to get connector/J to > work. I downloaded the 3.1 nithly build from 20040212 and start mysql > 4.1 with the --old-passwords option. I also ran > mysql_fix_privilege_tables option. MyODBC does work with the > --old-passwords option. I get the following error when I try to access > the database: > > [2/12/04 8:45:06:611 MST] 696f4a0d SystemOut O > 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: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) > at java.sql.DriverManager.getConnection(DriverManager.java:538) > at java.sql.DriverManager.getConnection(DriverManager.java:188) > at com.mtc.sys.Scusers.<init>(Scusers.java:84) > at > com.mtc.ims.ed.servlet.AcadStatusServlet.service(AcadStatusServlet.java:146) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > at > com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110) > at > com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174) > at > com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313) > at > com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116) > at > com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283) > at > com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42) > at > com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40) > at > com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:974) > at > com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:555) > at > com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200) > at > com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119) > at > com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276) > at > com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71) > at > com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182) > at > com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334) > at > com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56) > at > com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618) > at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439) > at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593) > > > ** END NESTED EXCEPTION ** > > Scott Pippin > [EMAIL PROTECTED] > Scott, What happens with Connector/J when you run _without_ --old-passwords? There was a bug in older versions of Connector/J 3.1.x that didn't allow you to connect to 4.1.1 running with --old-passwords, but that should've been fixed...Can you try with Connector/J 3.0.10 as well? Regards, -Mark - -- Mr. Mark Matthews MySQL AB, Software Development Manager, J2EE and Windows Platforms Office: +1 708 332 0507 www.mysql.com Meet the MySQL Team! April 14-16, 2004 http://www.mysql.com/uc2004/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFAK8G1tvXNTca6JD8RAnruAKCWyC1ckn3mnRM0jFfxt4b/vLOHmQCdHw8I DOJSlaRTQV3Qvh6kj5C3fQo= =wWt3 -----END PGP SIGNATURE----- -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]