Since: 2.0

class Driver extends Driver (View source)

PDO MySql driver.

Methods

connect(array $params, $username = null, $password = null, array $driverOptions = [])

No description

createDatabasePlatformForVersion($version)

{@inheritdoc}

string
_constructPdoDsn(array $params)

Constructs the MySql PDO DSN.

Details

connect(array $params, $username = null, $password = null, array $driverOptions = [])

No description

Parameters

array $params
$username
$password
array $driverOptions

createDatabasePlatformForVersion($version)

{@inheritdoc}

Parameters

$version

See also

\Doctrine\DBAL\Driver\AbstractMySQLDriver::createDatabasePlatformForVersion()

private string _constructPdoDsn(array $params)

Constructs the MySql PDO DSN.

Parameters

array $params

Return Value

string

the DSN