AMG adlı üyeden alıntı: mesajı görüntüle
Maalesef undefined cevabı alıyorum.
Bunun çalışması gerekiyor hocam, mysql ile uzun zamandır çalışmıyorum.
let result;
connection.connect((err) => {
  if (err) throw err;
  connection.query(testcek, (err, res) => {
    if (err) throw err.message;
    result = res;
  });
});