Connect a Google CloudSQL Postgres database to Data Studio

前端 未结 2 806
野趣味
野趣味 2021-02-04 16:24

I am trying to connect a Postgres database hosted in a google Cloud Sql instance to Data Studio. I have followed the instructions (found here https://support.google.com/datastu

2条回答
  •  佛祖请我去吃肉
    2021-02-04 16:47

    Eventually it turns out that just changing the format of the client key works. The reason the above didn't work was that the command to change the format was wrong.

    It should be:

    openssl pkcs8 -topk8 -inform PEM -outform PEM -in client-key.pem -out client-key.key -nocrypt
    

    (notice the PEM instead of DER parameter that is posted in the question).

    So Data Studio connection works! Happy days!

提交回复
热议问题