master
Rob Hedgpeth 2020-03-31 10:46:26 -05:00
rodzic 0bfa252339
commit a3596024f4
4 zmienionych plików z 8 dodań i 12 usunięć

Wyświetl plik

@ -3,7 +3,7 @@ require('dotenv').config();
// SSL (e.g. SkySQL) connections
// * Remember to change the location of "skysql_chain.pem" to wherever you placed it!
// * To use just uncomment the two lines below and the 'ssl' property (and value)
// * To use just uncomment the two lines below and the 'ssl' property (and value) within the connection pool configuration
//const fs = require("fs");
//const serverCert = [fs.readFileSync("skysql_chain.pem", "utf8")];
@ -15,7 +15,6 @@ const pool = mariadb.createPool({
port: process.env.DB_PORT,
multipleStatements: true,
connectionLimit: 5
// For SSL (e.g. SkySQL) connections
/*
,ssl: {
ca: serverCert

Wyświetl plik

@ -3,7 +3,7 @@ require('dotenv').config();
// SSL (e.g. SkySQL) connections
// * Remember to change the location of "skysql_chain.pem" to wherever you placed it!
// * To use just uncomment the two lines below and the 'ssl' property (and value)
// * To use just uncomment the two lines below and the 'ssl' property (and value) within the connection pool configuration
//const fs = require("fs");
//const serverCert = [fs.readFileSync("skysql_chain.pem", "utf8")];
@ -16,7 +16,6 @@ const pool = mariadb.createPool({
database: process.env.DB_NAME,
multipleStatements: true,
connectionLimit: 5
// For SSL (e.g. SkySQL) connections
/*
,ssl: {
ca: serverCert

Wyświetl plik

@ -3,7 +3,7 @@ require('dotenv').config();
// SSL (e.g. SkySQL) connections
// * Remember to change the location of "skysql_chain.pem" to wherever you placed it!
// * To use just uncomment the two lines below and the 'ssl' property (and value)
// * To use just uncomment the two lines below and the 'ssl' property (and value) within the connection pool configuration
//const fs = require("fs");
//const serverCert = [fs.readFileSync("skysql_chain.pem", "utf8")];
@ -17,7 +17,6 @@ var pools = [
database: process.env.DB_NAME_1,
multipleStatements: true,
connectionLimit: 5
// For SSL (e.g. SkySQL) connections
/*
,ssl: {
ca: serverCert

Wyświetl plik

@ -3,7 +3,7 @@ require('dotenv').config();
// SSL (e.g. SkySQL) connections
// * Remember to change the location of "skysql_chain.pem" to wherever you placed it!
// * To use just uncomment the two lines below and the 'ssl' property (and value)
// * To use just uncomment the two lines below and the 'ssl' property (and value) within the connection pool configuration
//const fs = require("fs");
//const serverCert = [fs.readFileSync("skysql_chain.pem", "utf8")];
@ -15,7 +15,6 @@ const pool = mariadb.createPool({
database: 'Places',
multipleStatements: true,
connectionLimit: 5
// For SSL (e.g. SkySQL) connections
/*
,ssl: {
ca: serverCert