facebook

Communications link failure due to underlying exception:

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #348157 Reply

    ramagoni
    Member

    Hi MYEclipse Support team,

    I am trying to connect to mysql database from a jdbc code which is written in myeclipse ide and the mysql 5.0 is installed on my local machine(i.e local host) but i am getting the above mentioned error “Communications link failure due to underlying exception: and it is caused due to java.net.ConnectException: Connection refused: connect” when i try to run the same jdbc code in “Eclipse” i am successful in running the code but when i try to run the same code in MYECLIPSE i receive the above error after lot of googling i came to know that it is my firewall blocing MYECLIPSE to communicate with MYSQL database , but the point what i don’t Understand is how is Eclipse is allowed to cross the firewall and communicate with MYSQL And why is MYECLIPSE blocked what ever may be the reaseon i want myclipse to be allowed to communicate with mysql ,ANY Help is much appreciated

    Thanks
    Sreeram

    #348183 Reply

    support-swapna
    Moderator

    Sreeram,

    Sorry that you are seeing this issue.

    Can you please answer some more questions for us?

    1. Is the Eclipse running on the same machine as the MyEclipse ? Please share the MyEclipse Installation Details from MyEclipse > Installation Summary > Installation Details.

    2. Can you please recheck if the firewall/proxy settings are set here Window > Preferences > General > Network Connections and are correct ?

    3. Can you please recheck if the MySQL service is started and running at AdministrativeTools -> Services -> MySQL ?

    4. Can you also please recheck if you are connecting to MySQL on 3306 port or changed the port?

    5. If you are still seeing issues, please copy paste the contents of the .log file which is located at <workspace dir>/.metadata/.log for us to investigate further.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Communications link failure due to underlying exception:

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