Connecting to SQL Server with pyodbc over VPN

I have some code that establishes a connection to SQL server using pyodbc. However, soon the SQL server will only accept connections from a VPN. I need to therefore modify the connection to go via a VPN.

How can I achieve that pyodbc?


The VPN connection will need to be established first, this isn't a problem that can be solved directly by pyodbc.

Need Your Help

find files and act on them (find + exec)

unix recursion path find exec

I have downloaded about 3200 websites to the depth 2. So now I have one master folder (abc) that contains many folders, containing files for each website. So my folder abc contains 3200 folders and...

Forcing a repaint of a WPF control

wpf controls repaint

I currently try to create classes for a paint-like WPF application. I have to base classes LineMovement (line from StartPoint to EndPoint) and PathMovement (line going through all points specified ...