这是个骗分贴,全部内容如下: var db_options={ host:'localhost', port : 3308, user : 'root', password : '', database:'mysql' } var mq = require("mysql"); var mc = mq.createConnection(db_options); mc.connect(); mc.query("use mysql"); mc.query("select * from test", function(err,
这是个骗分贴,全部内容如下: var db_options={ host:'localhost', port : 3308, user : 'root', password : '', database:'mysql' } var mq = require("mysql"); var mc = mq.createConnection(db_options); mc.connect(); mc.query("use mysql"); mc.query("select * from test", function(err,
还不错 可以用