Du kan bruge sikker forbindelse til MySQL:
MySQL side:https://dev.mysql.com/ doc/refman/5.5/da/secure-connections.html
PHP-side:https://php.net/manual/en/mysqli. real-connect.php (MYSQLI_CLIENT_SSL flag)
Jeg har ikke arbejdet med SSL-forbindelser til MySQL med PHP, men jeg tror, det ikke er svært at finde nødvendige oplysninger på https:// php.net , https://dev.mysql.com og https://google.com
Opdater
Dette kan hjælpe:https://www.madirish.net/node/244 , PHP til MySQL SSL-forbindelser , https://www.php.net/manual/en/ mysqli.ssl-set.php