Quantcast
Channel: MySQL Forums - Connector/Python
Viewing all articles
Browse latest Browse all 387

Connection failed to remote MySQL Server (1 reply)

$
0
0
Hello community,

I have a Python code that enables connection to a remote MySQL Server using my-connector-python 9.2.0 library. The connection works well with localhost, but fails with remote server, here's the error I get (in a tkinter.messagebox) :
"2002: Can't connect to local MySQL server through socket '%-.100s' (%s)

In the host computer, the "bind_address" variable is set to 0.0.0.0 and MySQL Server is "listenning" to the TCP/IP connections in the right port. However, the client computer could not connect.

Could anyone help me with this ?
PS: I'm working on Windows 10 Pro

Thank you

Viewing all articles
Browse latest Browse all 387

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>