Avatar of Tony
Tony
 asked on

Mysql Vpn

Mysql VPN.
HI..how do I share or connect Mysql using a Internet private VPN?   NOTE: I ms access as a front end....also Work bench to manage
Microsoft AccessVPNMySQL Server

Avatar of undefined
Last Comment
David Favor

8/22/2022 - Mon
David Favor

1) You'll only do this if you'd like to reduce your connection speed down to VPN speed, usually much slower than raw connection speed.

2) If you require max connection speed, you'll create a TLS cert to encrypt your data flow.

So anyone can see the data flow then, except seeing the data is useless, as it's encrypted.

3) For fastest speed, you'll run your site/app code on the same machine with your MariaDB/MySQL instance, so your data flow runs at RAM speed, rather than network speed.
ASKER CERTIFIED SOLUTION
John Tsioumpris

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
arnold

As others pointed out much more detail is needed

If you have ssh access to where mysql server is look at ssh tunneling
Tony

ASKER
OK. I will Mr. John Tsioumpris solution and go back to you if this works.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
Tony

ASKER
thank you.
David Favor

Best test your VPN speed, if speed is important.

MariaDB/MySQL already bake in native TLS support + TLS security is always stronger/faster than VPN security, because you can tune your ciphers.

With a VPN there is no tuning. Your speed is determined by the VPN IP you happen to connect through.