Doctrine\DBAL\Driver\IBMDB2\DB2Driver::connect
Attempts to create a connection with the database.
Signature
public function connect(array
$params,
[string
$username = null,
[string
$password = null,
array
$driverOptions]] )
Parameters
$params
—
array
- All connection parameters passed by the user.
$username
—
string
- The username to use when connecting.
$password
—
string
- The password to use when connecting.
$driverOptions
—
array
- The driver options to use when connecting.
Returns
- Connection
- The database connection.
Defined by Interface
Driver