var mysql = require('mysql');
var connection = mysql.createConnection({
host : 'localhost',
user : 'root',
password : '13738471325',
database : 'luoluo'
});
connection.connect();
connection.query('insert into kk set id=325,name=洛洛,age=17', function(err, rows, fields) {
if (err) throw err;
console.log("插入成功");
});
connection.end();
qq_神祈x
xiaowu9