Node.js 连接Mysql的增删改查操作简单例子
var mysql = require('mysql');
var connection = mysql.createConnection({
host: 'localhost',
user: 'root',
password: '123456',
database: 'test'
});
connection.connect();
// var sql = 'se
原创
2017-06-24 13:18:18 ·
420 阅读 ·
0 评论