Connecting to Aurora MySQL Serverless with Node
问题 I'm trying to connect to my Aurora Serverless MySQL DB cluster using the mysql module, but my connection always times out. const mysql = require('mysql'); //create connection const db = mysql.createConnection({ host : 'database endpoint', user : 'root', password : 'pass', database : 'testdb' }); //connect db.connect((err) => { if(err){ throw err; console.log('connection failed'); } console.log('mysql connected...'); }) db.end(); My cluster doesn't have a public IP address so I'm trying to use