Link to home
Start Free TrialLog in
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
Avatar of David Favor
David Favor
Flag of United States of America image

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
Avatar of John Tsioumpris
John Tsioumpris
Flag of Greece image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
As others pointed out much more detail is needed

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

ASKER

OK. I will Mr. John Tsioumpris solution and go back to you if this works.
Avatar of Tony

ASKER

thank you.
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.