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}

getSchemaManager(Connection $conn)

{@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()

getSchemaManager(Connection $conn)

{@inheritDoc}

Parameters

Connection $conn

See also

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

private string _constructPdoDsn(array $params)

Constructs the MySql PDO DSN.

Parameters

array $params

Return Value

string

the DSN