Monday, October 24, 2016

[google-cloud-sql-discuss] Mysql Proxy unable to connect Two instances

I am using Google Cloud Sql Proxy to connect two Mysql Instance rsco1617 & aimsadmin Google Cloud Mysql like this .

cloud_sql_proxy_x64 -instances=hypnotic-pier-147101:asia-east1:rsco1617;hypnotic-pier-147101:asia-east1:aimsadmin=tcp:3306  -credential_file="My First Project-13f775139ca0.json"

If any one Instance is given the above statement no issues and works fine .
 But when both Instances ( rsco1617, aimsadmin) are given i get the following error
 Error 403: The client is not authorized to make this request., notAuthorized like this .

I have enabled api and created Json authorization for the project .

 couldn't connect to "hypnotic-pier-147101:asia-east1:rsco1617;hypnotic-pier-147101:asia-east1:aimsadmin": ensure that the account has access to "hypnotic-pier-147101:asia-east1:rsco1617;hypnotic-pier-147101:asia-east1:aimsadmin" (and make sure there's no typo in that name). Error during createEphemeral for hypnotic-pier-147101:asia-east1:rsco1617;hypnotic-pier-147101:asia-east1:aimsadmin: googleapi: Error 403: The client is not authorized to make this request., notAuthorized

Pls help .

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/4a718b64-df4c-427d-ae1e-1f3b3fc52dc9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment