不要怂,就是干,撸起袖子干!

Commit 2da1680f by Sascha Depold

use no password + some output

1 parent ff8e1366
Showing with 9 additions and 3 deletions
var Sequelize = require(__dirname + "/../../lib/sequelize/Sequelize").Sequelize,
sequelize = new Sequelize("sequelize_test", "test", "test", {
sequelize = new Sequelize("sequelize_test", "root", null, {
// use other database server or port
host: 'my.srv.tld',
port: 12345,
// disable logging
disableLogging: true
})
\ No newline at end of file
}),
Smth = sequelize.define('Smth', {foo: Sequelize.STRING})
Smth.sync(function(_, err) {
if(err) Sequelize.Helper.log(err)
else Sequelize.Helper.log('Hey we established the connection successfully! Woot!')
})
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!