If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

MySQL Connection Problem

Hi,

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?