PHP MySQL over SSL. Peer certificate did not match

前端 未结 5 2013
死守一世寂寞
死守一世寂寞 2020-12-25 13:56

I\'m trying to use Google Cloud SQL over SSL from GCE(Google Compute Engine) instance. My problem is that I cannot connect to Cloud SQL instance over SSL.

mysql comm

5条回答
  •  粉色の甜心
    2020-12-25 14:23

    In short, use Cloud SQL Proxy if you need to access from both PDO and mysqli. You have no choice.

    https://cloud.google.com/sql/docs/sql-proxy

提交回复
热议问题