Property |
Type |
Description |
|
$binCharset |
|
* charset id @see 14.1.4 in mysql manual |
|
$busy |
|
* callable; called when Connection re-enters fetching mode |
|
$charset |
|
utf8mb4_general_ci |
|
$collate |
|
|
|
$db |
|
|
|
$exceptions |
|
* throw exceptions for general mysql errors [not connection or protocol specific] or just return false in the Promises ? |
|
$host |
|
* (:) |
|
$key |
|
* private key to use for sha256_password auth method |
|
$pass |
|
|
|
$ready |
|
* callable; called when finished fetching all pending data |
|
$resolvedHost |
|
* automatically resolved by Connection class |
|
$restore |
|
* callable; called when connection broke, first param is Connection object, second param whether it happened before successful auth |
|
$ssl |
|
* null for no ssl, array with eventual ssl context options (peer_name is automatically set) |
|
$user |
|
|
|