Connect to database behind a VPN


I need to connect to a database that lives on a server behind a VPN.
I connect to the VPN using the IP, username and password.

I think it is PPTP, though my windows VPN configuration has ‘Automatic’ on the Type of VPN field.

I’ve read the docs page concerning SSL, but it doesn’t suit my case.

Can you help?