Skip to content
Advertisement

Google BigQuery Federated Query connection Error

I am trying to use the Federated Query functionality in BigQuery to query some data from my Cloud SQL Postgres DB.

Unfortunately I get the following error:

It is quite similar to the error discussed here, but it was not solved (the word that appears in the quotes is different though): Connection Error while running federated query in BigQuery to Postgres Cloud SQL instance

For reference, I set up the connection in BQ with the following command:

Advertisement

Answer

I confirm, it’s the password with space which cause the issue. I tried several things and I found one which works!

Here my original password: root is root

Here the password definition in the command line: "password":"root\ is\ root"

With MySQL no problem with the spaces!!! I will open an issue for that, but here the workaround!

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement