- This topic has 5 replies, 3 voices, and was last updated 20 years 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),
ramuJune 11, 2005 at 4:09 pm #230887
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.
June 12, 2005 at 4:57 am #230916
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.June 12, 2005 at 4:57 am #230917
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,
ramuJune 12, 2005 at 2:06 pm #230923
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.
June 13, 2005 at 4:53 am #230939
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