1 /*******************************************************************************
2 * Copyright (c) 2017 Kumar Rishabh and others.
4 * All rights reserved. This program and the accompanying materials
5 * are made available under the terms of the Apache License, Version 2.0
6 * which accompanies this distribution, and is available at
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *******************************************************************************/
10 var mysql = require('mysql');
12 var pool = mysql.createPool({
13 host: process.env.DB_HOST,
14 user: process.env.DB_USER,
15 password: process.env.DB_PASSWORD,
16 database: process.env.DB_DATABASE,
18 supportBigNumbers: true,
19 multipleStatements: true,