Tuesday, April 16, 2019

[google-cloud-sql-discuss] Re: Can't connect to MySQL Cloud Instance from an other App Engine

Hi Katayoon,

Thanks for your reply. But, I've already do all that :(

I can access to my Cloud SQL Instance from local with proxy.
I can access to my Cloud SQL Instance from the App Engine locate on the same GCP Project.
I've add all necessary rights to the other App Engine project (Cloud SQL Admin), but I've still the error : 

[forest] 🌳🌳🌳  Unexpected error: connect ECONNREFUSED 127.0.0.1:3306
2019-04-16 13:54:24 default[20190416t131513]  SequelizeConnectionRefusedError: connect ECONNREFUSED 127.0.0.1:3306    
 

Configuration IAM on Project-A with Cloud SQL Instance :
project-b@appspot.gserviceaccount.comApp Engine default service account
Administrateur de Cloud SQL

List of all API enabled and used on Project B

Screenshot 2019-04-17 at 00.07.37.png























Have you any other ideas ?

Thank you,

--
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/89e00651-dc78-4760-b276-2d5490060c49%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment