Mysql Proxy unable to connect Two instances

132 views
Skip to first unread message

Pabanas Ashok

unread,
Oct 24, 2016, 9:53:07 AM10/24/16
to Google Cloud SQL discuss
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 .

Vadim Berezniker

unread,
Oct 24, 2016, 12:57:11 PM10/24/16
to Google Cloud SQL discuss
Use a comma instead of semicolon to separate the instances in the instances list.

--
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-d...@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.
Reply all
Reply to author
Forward
0 new messages