JavaScript SQL

const mysql = require('mysql');

const sqlServer = mysql.createConnection({
  host: 'localhost',
  user: 'yourusername',
  password: 'yourpassword',
});

sqlServer.connect((error) => {
  console.log('Connected To Database!');
  sqlServer.query('SELECT * FROM applicaton.customers', (queryError, result) => {
    console.log(result);
  });
});
SunflowerToad