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

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -