1. npm install express mysql 설치 2. 다음과 같이 코딩 한다. var mysql = require('mysql') var connection = mysql.createConnection({ host : 'localhost', user : 'root', password : 'hello1234', database : 'fsts' }) connection.connect() connection.query('SELECT * FROM staff', function(err, rows, fields) { if (err) throw err; for(var i=0; i