Just want to add, that I've also tried installing the Google Cloud SDK and
running:
gcloud sql instances patch my-instance --authorized-gae-apps my-app
And the result is:
The following message will be used for the patch API method.
{"project": "my-app", "instance": "my-instance", "settings":
{"authorizedGaeApplications": ["my-app"]}}
ERROR: (gcloud.sql.instances.patch) Service temporarily unavailable.
On Saturday, January 9, 2016 at 6:54:43 PM UTC-5, Zack Hine wrote:
>
> I know how to authorize an application for a cloud sql instance, and I've
> even already done it, but I had to delete the instance and create a new one
> because I had chosen the wrong version of MySQL.
>
>
> So when I go to this screen:
>
> <http://i.stack.imgur.com/VACJO.png>
>
>
>
>
>
> And then click Access Control to go to this screen to add my application:
>
> <http://i.stack.imgur.com/Ppdkv.png>
>
>
> Then click Save, I get this after a few seconds:
>
>
> <http://i.stack.imgur.com/BOBZa.png>
>
>
>
> It always says Could not complete the operation. This has been going on
> for a couple hours now. I even tried creating a brand new application and a
> new instance in that and I get the same issue.
>
> I thought maybe it was a region issue but as you can see in the first pic
> the instance region is set to us-east1, and as you can see in the next pic,
> the region of my app engine is the same.
>
> <http://i.stack.imgur.com/S9P6Q.png>
>
>
> Without this working I can not use cloud sql at all in my application
> because I get 'MySQL server has gone away' error when trying to connect.
>
>
> What is going on?
>
>
>
>
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-appengine/ad253b51-15e7-438b-8179-7c255d74f6c1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.