module.exports = function (app, next) {
	var mysql      = require('mysql');
	var connection = mysql.createConnection({
	  host     : 'localhost',
	  user     : 'root',
	  password : 'pass',
	  database : 'lab3'
	});

	connection.connect();

	next(connection);
};
