I am also having this problem with Google Cloud SQL. Will try setting up connection pooling as outlined above and let you know if that works.
Edit: It seems to have worked so far! Having to add connection pooling to the options may be caused by using a ‘low’ memory Cloud SQL server (~0.6gb) which restricts the max_connections flag to 25. It may be good to add this stipulation to the Google Cloud hosting guide. I can propose an edit to it in a few days if nobody has by then.
Thanks for everybody’s help!
Best,
RenderMaster