facebook

connecting Mysql server. [Closed]

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #230885 Reply

    Hello 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 in

    http://myeclipseide.com/enterpriseworkbench/help/index.jsp?topic=/com.genuitec.myeclipse.doc/html/quickstarts/install/index.html

    When i tried to open the connection it is showing following
    error

    Error 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.connect

    STACK 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

    #230887 Reply

    Riyad Kalla
    Member

    Can 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.

    #230916 Reply

    Hi 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.

    #230917 Reply

    Hi 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

    #230923 Reply

    Brian Fernandes
    Moderator

    Ramu,

    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.

    #230939 Reply

    Hello 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-g

    I 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.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: connecting Mysql server. [Closed]

You must be logged in to post in the forum log in