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?