Skip to content

Instantly share code, notes, and snippets.

@harinikilaru
harinikilaru / app.js
Created June 8, 2018 05:25 — forked from clarle/app.js
Short tutorial on how to use Express and node-mysql
// Module dependencies
var express = require('express'),
mysql = require('mysql');
// Application initialization
var connection = mysql.createConnection({
host : 'localhost',
user : 'root',