PHP Class Amp\Mysql\ConnectionConfig

Show file Open project: amphp/mysql

Public Properties

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

Property Details

$binCharset public property

* charset id @see 14.1.4 in mysql manual
public $binCharset

$busy public property

* callable; called when Connection re-enters fetching mode
public $busy

$charset public property

utf8mb4_general_ci
public $charset

$collate public property

public $collate

$db public property

public $db

$exceptions public property

* throw exceptions for general mysql errors [not connection or protocol specific] or just return false in the Promises ?
public $exceptions

$host public property

* (:)
public $host

$key public property

* private key to use for sha256_password auth method
public $key

$pass public property

public $pass

$ready public property

* callable; called when finished fetching all pending data
public $ready

$resolvedHost public property

* automatically resolved by Connection class
public $resolvedHost

$restore public property

* callable; called when connection broke, first param is Connection object, second param whether it happened before successful auth
public $restore

$ssl public property

* null for no ssl, array with eventual ssl context options (peer_name is automatically set)
public $ssl

$user public property

public $user