const dbConfig = {
user: 'username',
password: 'password',
database: 'dbName',
socketPath = `/cloudsql/instance_name`;
};
mysql.createPool(dbConfig)
const dbConfig = {
user: 'username',
password: 'password',
database: 'dbName',
socketPath = `/cloudsql/instance_name`;
};
Knex(client: 'mysql2',
connection: dbConfig)
D functionName kkb7wsgnbixj Function execution started functionName kkb7wsgnbixj
D functionNAme kkb7wsgnbixj Function execution took 818 ms, finished with status: 'connection error' functionName kkb7wsgnbixj
max: 1, user: 'username', password: 'password', database: 'appengine_helloworld_db', socketPath: '/cloudsql/hello-world-4736435:southamerica-east1:hello-world-postgis-sp'
Hello Emerson,
My colleague already answered you in your thread about this issue you are having connecting to your Cloud SQL instance.