SQL database connection issue with vpn

I’ve had a lot of success setting up SQL for my local Kodi machines. All was well until I started using a VPN on some of the machines. I’ve noticed that if I’m connected to the VPN, then launch Kodi, the system hangs at the splash screen. I’m assuming it is having trouble connecting to the IP address of my local MySQL server. If I remove the SQL connection from advancedsettings.XML. I can boot into Kodi and use the VPN connection. Anyone else experience this issue and is there a good solution for it?