以下是正确的连接字符串,但是它们取决于您从哪个版本的App Engine连接。
App Engine标准:
user:password@cloudsql(INSTANCE_CONNECTION_NAME)/dbname
App Engine弹性:
user:password@unix(/cloudsql/INSTANCE_CONNECTION_NAME)/dbname

以下是正确的连接字符串,但是它们取决于您从哪个版本的App Engine连接。
App Engine标准:
user:password@cloudsql(INSTANCE_CONNECTION_NAME)/dbname
App Engine弹性:
user:password@unix(/cloudsql/INSTANCE_CONNECTION_NAME)/dbname