📅  最后修改于: 2022-03-11 14:46:17.237000             🧑  作者: Mango
connection.connect(function(err) {
if (err) {
return console.error('error: ' + err.message);
}
console.log('Connected to the MySQL server.');
});
Code language: JavaScript (javascript)