cokemine/nodestatus

MySQL SLL 连接

Closed this issue · 3 comments

Error: Migration engine error:
unknown error: Code: UNAVAILABLE
server does not allow insecure connections, client must use SSL/TLS
Something wrong while updating database schema.

如果数据 有ssl 加密比如 https://app.planetscale.com

必须加上 ?ssl={"rejectUnauthorized":true}
但是 nodestatus 无法使用。。。

后面加上 &sslcert=/etc/ssl/cert.pem试试

可以了
mysql://::3306/railway?ssl={"rejectUnauthorized":true}&sslcert=/etc/ssl/cert.pem