I\'m trying to deploy my Node.js app on Google App Engine and it deployed fine, but it can\'t connect to Google Cloud SQL for some reason. Here\'s what it throws:
Check your logs for any errors during startup using:
the following cmd gcloud app logs tail -s default
or,
with the log viewer https://console.cloud.google.com/logs/viewer
Chances are that you have not enabled the Cloud SQL API for your project: https://console.developers.google.com/apis/api/sqladmin/overview