app.get('/', function(req,res) {
connection.query('SELECT ...', function (err, rows1) {
if (err) throw err;
connection.query('SELECT ...', function (err, rows2) {
if (err) throw err;
res.render('index', {menu: rows1, articles: rows2});
});
});
});