mirror of
https://github.com/dg/dibi.git
synced 2025-07-31 19:30:30 +02:00
MySQL & MySQLi drivers: configuration items 'options' renamed to 'flags' (old name is alias); added array 'options' for MySQLi
This commit is contained in:
@@ -66,6 +66,10 @@ try {
|
||||
'password' => 'xxx',
|
||||
'database' => 'dibi',
|
||||
'charset' => 'utf8',
|
||||
'options' => array(
|
||||
MYSQLI_OPT_CONNECT_TIMEOUT => 30
|
||||
),
|
||||
'flags' => MYSQLI_CLIENT_COMPRESS,
|
||||
));
|
||||
echo 'OK';
|
||||
|
||||
|
Reference in New Issue
Block a user