Accessing MySQL server via VPN in python
Posted
by user210481
on Server Fault
See other posts from Server Fault
or by user210481
Published on 2010-04-08T22:53:20Z
Indexed on
2010/04/09
4:33 UTC
Read the original article
Hit count: 329
Hi I have a MySQL server that I need access through a VPN.
I use MySQLdb package to access MySQL server in Python.
When I can access the server without VPN, it works fine, but when I'm at certain locations, I need to connect through VPN.
My computer is connected to the VPN and I can access the database through PHPMyAdmin, but MySQLdb gives me an error message: OperationalError: (2003, "Can't connect to MySQL server on 'MY_IP' (10061)")
Any ideas on why it's not working? Thanks
© Server Fault or respective owner