- This topic has 5 replies, 3 voices, and was last updated 19 years, 6 months ago by ram_kurra@yahoo.co.in.
-
AuthorPosts
-
ram_kurra@yahoo.co.inMemberHello techies,
Iam very new to MyEclipse.
I had installed myeclipse 3.8.4.
NOw i want to connect to mysql server from myeclipse.I had mistakely deleted MySQL Connector/J Driver from drivers.
Now i had created a new driver with the following information
that u had given inWhen i tried to open the connection it is showing following
errorError while trying to login to database
communication link failure due to underlyin xception.* BEGIN NESTED EXCEPTION*
java.net.Socket Exception
MESSAGE: java.net.Connect Exception: connection refused.connectSTACK TRACE
java.net.Connect Exception: connection refused.connect
at
com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java)
at
com.mysql.jdbc.MySql10.<init>
at
com.mysql.jdbc.Connection.createNewIO(Connection.java)
at
com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:268)
at
net.sourceforge.squirrel_sql.fw.sql.SQLDriverManager.getConnection
at
java.lang.Thread.run(UnKnown Source)* END OF NESTED EXCEPTION*
How to add a new driver to this drivers list??
Can any body tell me I am not getting connection with mysql from myeclipse??
I will be very thankfull to u if any body reply this question.
thanks(inadvance),
ramu
Riyad KallaMemberCan you please post all the information we request in the [URL=http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-393.html]Posting Guidelines[/URL] thread at the top of this forum? That will give us some context so that we can determine if this is an installation issue, a configuration problem, or a bug. Thanks.
ram_kurra@yahoo.co.inMemberHi Riyad,
Thank u for u r reply.
Iam using mysql-4.1.11-win32
Operatinv system windows server2000 service pack 4.
Eclipse-3.1M7
MyEclipse – 3.8.4
Weblogic server – 7.0.
ram_kurra@yahoo.co.inMemberHi Riyad,
Thank u for u r reply.
Iam using mysql-4.1.11-win32
Operatinv system windows server2000 service pack 4.
Eclipse-3.1M7
MyEclipse – 3.8.4
Weblogic server – 7.0.
regards,
ramu
Brian FernandesModeratorRamu,
Were you able to connect to your database *before* you deleted the MySQL driver?
In any case, a new driver setup using the right jar file will be just fine.1) Are you sure the MySQL service is running?
You can verify this by typing “net start mysql” at the command prompt (usually)2) Are you sure the address:port you’re specifying are correct?
3) Can you post the profile details here, specifically the connect string?
4) What MySQL JDBC driver are you using? How recent is it?
Brian.
ram_kurra@yahoo.co.inMemberHello riyad,
I am very thankfully for u r great co-operation.Iam using mysql-connector-java-3.1.8-bin
mysql-connector-java-3.1.8-bin-gI made mistake in giving port No.i.e. 3301 which i had given previously.
I changed it and it is connecting perfectly.thank alot ,
riyad. -
AuthorPosts