Connecting a Google Cloud SQL Postgres Database to Google Data Studio

强颜欢笑 提交于 2019-12-08 10:01:05

问题


I am going through the exact same process as the answered question found here (Connect a Google CloudSQL Postgres database to Data Studio), but I am not as advanced a user as most. I am encountering a similar problem to what was mentioned in the above question, and then some:

  1. I have created a client certificate and downloaded the client-cert.pem, client-key.pem and the server-ca.pem files to my local machine.
  2. I received the same error when attempting to link Data Studio to our Google Cloud SQL Postgres Database as a data source. " Can't reach the host. Please double check your connection parameters. Learn more about database connectors here. "

  3. I tried running the following command " openssl pkcs8 -topk8 -inform PEM -outform DER -in client-key.pem -out client-key.pkcs8 -nocrypt " to change the format of the client key in our Cloud Shell Project, but I received this error " pkcs8: Cannot open input file client-key.pem, No such file or directory ".

I would assume that I should not be running this command from the Cloud Shell Project terminal then. Would anybody know where I should be running this command instead? I can provide any extra material if needed. Thank you in advance - much appreciated.


回答1:


It sounds like the file doesn't exist location where you are running the command. Did you upload the client-key.pem into Cloud Shell?



来源:https://stackoverflow.com/questions/58378396/connecting-a-google-cloud-sql-postgres-database-to-google-data-studio

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!