-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In-Progress Packaging / Documentation improvements
- Loading branch information
Showing
9 changed files
with
281 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
``` | ||
var MysqlDefaultConnectionProperties = { | ||
"implementation" : "mysql", | ||
"database" : "test", | ||
"mysql_host" : "localhost", | ||
"mysql_port" : 3306, | ||
"mysql_user" : "root", | ||
"mysql_password" : "", | ||
"mysql_charset" : "UTF8MB4", | ||
"mysql_sql_mode" : "STRICT_ALL_TABLES", | ||
"mysql_socket" : null, | ||
"debug" : true, | ||
"mysql_trace" : false, | ||
"mysql_debug" : false, | ||
"mysql_pool_size": 10 | ||
}; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/* | ||
MySQL Connection Properties | ||
*/ | ||
|
||
var MysqlDefaultConnectionProperties = { | ||
"implementation" : "mysql", | ||
"database" : "test", | ||
|
||
"mysql_host" : "localhost", | ||
"mysql_port" : 3306, | ||
"mysql_user" : "root", | ||
"mysql_password" : "", | ||
"mysql_charset" : "UTF8MB4", | ||
"mysql_sql_mode" : "STRICT_ALL_TABLES", | ||
"mysql_socket" : null, | ||
"debug" : true, | ||
"mysql_trace" : false, | ||
"mysql_debug" : false, | ||
"mysql_pool_size": 10 | ||
}; | ||
|
||
|
||
/* This file is valid JavaScript | ||
*/ | ||
module.exports = MysqlDefaultConnectionProperties; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
``` | ||
var NdbDefaultConnectionProperties = { | ||
"implementation" : "ndb", // This must always be "ndb". | ||
"ndb_connectstring" : "localhost:1186", // MySQL Cluster Connect String | ||
"database" : "test", // MySQL Database name | ||
"mysql_user" : "root", | ||
/* The next 3 properties control the behavior when opening a connection. */ | ||
"ndb_connect_retries" : 4, // if < 0, keep trying forever | ||
"ndb_connect_delay" : 5, // full seconds between connection retries | ||
"ndb_connect_verbose" : 0, // enable extra console output | ||
"linger_on_close_msec": 500, /* When a client closes a DBConnectionPool, | ||
the underlying connection is kept open | ||
for this many milliseconds in case | ||
another client tries to re-open it. | ||
*/ | ||
"use_ndb_async_api" : false, /* If true, some operations will be | ||
executed using asynchronous calls for | ||
improved concurrency. If false, the | ||
number of operations in transit will be | ||
limited to one per uv worker thread. | ||
*/ | ||
"ndb_session_pool_min" : 4, | ||
"ndb_session_pool_max" : 100, /* Each NdbConnectionPool maintains a | ||
pool of DBSessions (and their underlying | ||
Ndb objects). These parameters set | ||
guidelines for the size of that pool. | ||
*/ | ||
"ndb_session_concurrency" : 4 /* The number of concurrent transactions | ||
in an Ndb Session. Only one | ||
transaction at a time is visible to the | ||
user, but one may start before previous | ||
ones have finished executing. | ||
*/ | ||
}; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
|
||
|
||
/* | ||
NDB Connection Properties | ||
*/ | ||
|
||
var NdbDefaultConnectionProperties = { | ||
"implementation" : "ndb", // This must always be "ndb". | ||
|
||
"ndb_connectstring" : "localhost:1186", // MySQL Cluster Connect String | ||
"database" : "test", // MySQL Database name | ||
"mysql_user" : "root", | ||
|
||
/* The next 3 properties control the behavior when opening a connection. */ | ||
"ndb_connect_retries" : 4, // if < 0, keep trying forever | ||
"ndb_connect_delay" : 5, // full seconds between connection retries | ||
"ndb_connect_verbose" : 0, // enable extra console output | ||
|
||
"linger_on_close_msec": 500, /* When a client closes a DBConnectionPool, | ||
the underlying connection is kept open | ||
for this many milliseconds in case | ||
another client tries to re-open it. | ||
*/ | ||
|
||
"use_ndb_async_api" : false, /* If true, some operations will be | ||
executed using asynchronous calls for | ||
improved concurrency. If false, the | ||
number of operations in transit will be | ||
limited to one per uv worker thread. | ||
*/ | ||
|
||
"ndb_session_pool_min" : 4, | ||
"ndb_session_pool_max" : 100, /* Each NdbConnectionPool maintains a | ||
pool of DBSessions (and their underlying | ||
Ndb objects). These parameters set | ||
guidelines for the size of that pool. | ||
*/ | ||
|
||
"ndb_session_concurrency" : 4 /* The number of concurrent transactions | ||
in an Ndb Session. Only one | ||
transaction at a time is visible to the | ||
user, but one may start before previous | ||
ones have finished executing. | ||
*/ | ||
}; | ||
|
||
/* This file is valid JavaScript | ||
*/ | ||
module.exports = NdbDefaultConnectionProperties; |
Oops, something went wrong.