Connection failed to remote MySQL Server
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
Subject
Written By
Posted
Connection failed to remote MySQL Server
March 11, 2025 10:59AM
Sorry, only registered users may post in this forum.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.