- This topic has 8 replies, 5 voices, and was last updated 20 years, 4 months ago by
ivansaraiva.
-
AuthorPosts
-
Skywalker14MemberHi,
I have a problem when I want to connect to my MySQL server with the DBExplorer of MyEclipse
Versions:
MySQL 4.1.7
W2K
Eclipse 3.0.1
MyEclipse 3.8.2
JBoss 3.2.2When I try to open a connection, I have the following error message:
Error while trying to login to database:
Communication link failure: java.io.IOException, underlying cause:
Unexpected end of input streamSTACKTRACE:
java.io.IOException: Unexpected end of input stream
…
at
net.sourceforge.squirrel_sql.fw.sql.SQLDriverManager.getConnection(SQLDriver [can’t see following error]
at
com.genuitec.eclipse.sqlexplorer.sessiontree.actions.LoginProgress$Login.run [can’t see following error] Source)Thx for your help
December 15, 2004 at 9:18 am #221147
Riyad KallaMemberChecking with DB dev.
December 15, 2004 at 9:31 am #221161
Skywalker14MemberI am the DB dev.
What must I check ?
December 15, 2004 at 9:32 am #221162
Riyad KallaMemberSorry, I mean OUR developer that wrote the DB module 😀
December 15, 2004 at 8:35 pm #221260
support-jeffMemberThe issue is not in MyEclipse. The error indicates connectivity problems. Please confirm that your database is accepting connections properly, and that you have your connection url properly formed. There appear to be several posts on the MySQL forums about similar problems – please check there as well.
December 16, 2004 at 6:52 am #221276
Skywalker14MemberHi,
My problem is solved. It was due to the MySQL connector / J.
When I have downloaded the ZIP file (mysql-connector-java-3.0.16-ga.zip), I haven’t unzipped it to extract the .JAR (mysql-connector-java-3.0.16-ga-bin.jar).
So the driver location was not found as expected by DBExplorer as the packaging was incorrect.
December 27, 2004 at 6:13 pm #221904
freedonnadd71MemberAre you having to put that in aevery project that uses MySQL or is there a common place in which to place the jar file for the connector/J ?
December 27, 2004 at 8:32 pm #221905
support-jeffMemberDE is not project-oriented. You only need associate a Driver in preferences with the JDBC driver jar file located somewhere on your filesystem. Then you can create as many Connection Profiles using that Driver as you want.
February 17, 2005 at 5:00 pm #225385
ivansaraivaMemberI want to put a new MySQL connector / J X.X.X jar file, in one place where the eclipse smoothly add to all projects I’ll create with hibernate capabilities, like it does with its own MySQL connector / J and others connectors.
How can do that?Thanks,
Ivan 💡 -
AuthorPosts