Google Cloud Functions - Connect to Cloud SQL via SSL
问题 The GCF Cloud SQL documentation does not show how to connect via the socket using SSL. Here is my config, however when I try to connect I get an ECONNREFUSED error. But when I try to connect to a non-SSL database it works fine. Any ideas? const mysql = require('mysql'); const mysqlConfig = { connectionLimit: 1, user: dbUser, password: dbPassword, database: dbName, ssl: { ca: await getFileContents(bucketName, ssl.ca_filename), key: await getFileContents(bucketName, ssl.key_filename), cert: