PDODatabaseConnection
class PDODatabaseConnection (View source)
Opens the PDO connection from the database credentials, building the DSN and SSL options per driver.
Methods
static int
mysqlAttribute(string $name)
A MySQL driver attribute by name. PHP 8.4 moved these to Pdo\Mysql::ATTR_ and 8.5 deprecates the PDO::MYSQLATTR spelling; both carry the same value.
Details
PDO
connect(array $credentials)
No description
static int
mysqlAttribute(string $name)
A MySQL driver attribute by name. PHP 8.4 moved these to Pdo\Mysql::ATTR_ and 8.5 deprecates the PDO::MYSQLATTR spelling; both carry the same value.