|
@@ -2,7 +2,7 @@ const { Store, Cache } = require('ringo-sqlstore');
|
|
|
|
|
|
// create and configure store
|
|
// create and configure store
|
|
const connectionPool = module.singleton("connectionPool", function () {
|
|
const connectionPool = module.singleton("connectionPool", function () {
|
|
- const mysqlConnectionProperties = "?jdbcCompliantTruncation=false&elideSetAutoCommits=true&useLocalSessionState=true&cachePrepStmts=true&cacheCallableStmts=true&alwaysSendSetIsolation=false&prepStmtCacheSize=4096&cacheServerConfiguration=true&prepStmtCacheSqlLimit=2048&zeroDateTimeBehavior=convertToNull&traceProtocol=false&useServerPrepStmts&enableQueryTimeouts=false&useUnbufferedIO=false&useReadAheadInput=false&maintainTimeStats=false&cacheRSMetadata=true";
|
|
|
|
|
|
+ const mysqlConnectionProperties = "?jdbcCompliantTruncation=false&elideSetAutoCommits=true&useLocalSessionState=true&cachePrepStmts=true&cacheCallableStmts=true&alwaysSendSetIsolation=false&prepStmtCacheSize=4096&cacheServerConfiguration=true&prepStmtCacheSqlLimit=2048&zeroDateTimeBehavior=convertToNull&traceProtocol=false&useServerPrepStmts&enableQueryTimeouts=false&useUnbufferedIO=false&useReadAheadInput=false&maintainTimeStats=false&cacheRSMetadata=true&useSSL=false";
|
|
return Store.initConnectionPool({
|
|
return Store.initConnectionPool({
|
|
"url": "jdbc:mysql://TFB-database/hello_world" + mysqlConnectionProperties,
|
|
"url": "jdbc:mysql://TFB-database/hello_world" + mysqlConnectionProperties,
|
|
"driver": "com.mysql.jdbc.Driver",
|
|
"driver": "com.mysql.jdbc.Driver",
|