Creates a new MySQL
Connection Pool.
Describes the global
database settings
.Queue
size.
A bucket of queued connections.
Describes the global
database settings
.Config
object (used for all pool
servers).
Describes the collection of DBPool servers
in settings
.Pool
.
A MySQL connection pool
Whether or not the Connection
is being kept alive
Initiates the Database pool
.
Sends a ping
to the database
, expecting a response.
Will continually ping
the db
at an interval specified in the configs
.
Aquires a database
connection from the pool
.
The database Connection
Fills the Queue
with new Connections
.
Adds a new Connection
to the queue
.
true
, if successful.
Aquires a database
connection from the queue
.
An asynchronus object of { error, rows }
Closes the database
connection.
Sends out database
logs.
On success
; message is displayed as-is. On error
it's used as a sprintf
-style template for err.message
.
An error
object; if applicable.
Creates a new
MySQL
Connection Pool.