0

Is it possible (and how so if yes) to connect to a mysql DB over ssh in php? Before, I would connect to a VPN then just connect normally to the mysql DB normally (this is for local testing purposes only) but that is not working at the moment so my only other option is to use SSH.

Brian J
  • 7
  • 7
  • 4
    Possible duplicate of [Connect to a MySQL server over SSH in PHP](http://stackoverflow.com/questions/464317/connect-to-a-mysql-server-over-ssh-in-php) – David van rijn Dec 09 '15 at 21:55
  • I think [this](http://stackoverflow.com/questions/464317/connect-to-a-mysql-server-over-ssh-in-php) is sort of exatly the same question – David van rijn Dec 09 '15 at 21:55

0 Answers0