Try this:

Go into the iam-admin for the project  you want to give access to the DB 
and look for the service account it would be something like 
[project_id]@appspot.gserviceaccount.com, copy it, then in the same page, 
change the project to the one that hast the MySQL instance and clic Add+ 
and give the service account the Cloud SQL Client role. 

Cheers

On Monday, August 2, 2021 at 7:44:23 AM UTC-6 luciano...@gmail.com wrote:

> Hello people. I have two Java projects running on AppEngine, one of the 
> projects has a MySQL instance and is already connected to AppEngine. I 
> would like both projects to connect to the same database. I've already 
> activated the Cloud SQL APIs, Cloud SQL Admin even so it didn't work, I'm 
> getting the following error:
>
> {
>      "code": 403,
>      "errors": [
>          {
>              "domain": "global",
>              "message": "The client is not authorized to make this 
> request.",
>              "reason": "notAuthorized"
>          }
>      ],
>      "message": "The client is not authorized to make this request."
> }
>
> can you help me?
>

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/1713b303-54c7-4ced-8a51-fb97b74d1908n%40googlegroups.com.

Reply via email to