Connecting to Google Cloud SQL (2nd Generation) from Google App Engine
When attempting to connect to a Google Cloud SQL 2nd generation instance from Google App Engine using a previously configured connection string, you may encounter the following error: "TLS requested but server does not support TLS."
The cause of this error is the lack of support for MySQL level SSL between App Engine Standard Environment and Cloud SQL 2nd generation instances. App Engine and Cloud SQL already establish an encrypted connection, rendering MySQL level SSL unnecessary and ineffective in this scenario.
While application level SSL can provide additional assurance, the unavailability of MySQL level SSL between App Engine Standard Environment and Cloud SQL 2nd generation instances remains a limitation. Currently, this behavior cannot be circumvented or modified from the user end.
To address this issue, consider the following:
The above is the detailed content of Why am I getting the 'TLS requested but server does not support TLS' error when connecting to Cloud SQL from App Engine?. For more information, please follow other related articles on the PHP Chinese website!