Results 1 to 2 of 2

Thread: MySQL Connection Problem

  1. #1
    Join Date
    May 2009
    Hampshire, UK

    Exclamation MySQL Connection Problem


    I am trying to use mysql_connect to connect to a database hosted on www.domain2.com from www.domain1.com. I have all the addresses correct and I have given access to the db from the domain name www.domain1.com. I am getting the following error:

    Fatal error: Lost connection to MySQL server at 'reading initial communication packet', system error: 111 in

    I have searched the net and everything talks about SSH, I don't know anything about SSH! I just want to know why it isn't working?


  2. #2
    Join Date
    Apr 2005
    Bathurst, NSW, Australia
    Do you own the servers or are they hosted? Do you know if the domains are on the same server? It could be that the MySQL server isn't set to listen to anything other than localhost.

    Could also be blocked by a firewall?

    Otherwise this might be a good read: http://themetricsystem.rjmetrics.com...rt-forwarding/

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center