php - Connection to Local Instance of MySQL from Remote Server -
I have an IRC bot that collects some information and writes that information to MySQL DB. I am IRC locally Run an IRC boat locally, and also do an XAMPP server (latest version) for MySQL locally (my PC).
I want to write this data with a remote messel db too. Unfortunately, my Fatko hosting will not allow me to connect remotely to my DB.
So, I'm trying to connect to the XAPP setup on my local PC, which is from a PHP page running on my fat hosting, but I do not understand it.
I have changed the bind address to 0.0.0.0 ... I have forwarded port 3306 to my firewall ... but I can not connect.
I get this error: Message: mysql_connect (): The connection to MySQL server on 'Reading initial communication packet' has been lost, system error: 111
Thx for help ... I may be required to catch a stranger with something like this kind of thing.
Comments
Post a Comment