dresende/node-orm2

CONNECTION_PROTOCOL_NOT_SUPPORTED

qinhehu opened this issue · 0 comments

connection string:
app.use(orm.express("mysql://root:123456@localhost/blog", {
define: function (db, models, next) {
models.User = db.define("user", {
id: Number,
name: String,
username: String,
password: String,
});
next();
}
}));