what i the connection statements to connect to cloudsql with php and app.yaml files

  app.yaml, cloud, google-app-engine, mysql, php

I create a new instance MySQL database into cloud SQL, and I wrote connection string in PHP file and deploy it to google app engine but it is not worked ??
I want a sample of the right connection statements.

Source: Ask PHP