Skip to content

Instantly share code, notes, and snippets.

@samholmes
Created April 16, 2011 08:28
Show Gist options
  • Save samholmes/922971 to your computer and use it in GitHub Desktop.
Save samholmes/922971 to your computer and use it in GitHub Desktop.
var mysql = require('mysql');
var db = new mysql.Client({
user: 'root',
password: '',
database: 'main'
});
db.connect();
module.exports = db;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment