diff --git a/src/Adapter/Driver/Mysqli/Connection.php b/src/Adapter/Driver/Mysqli/Connection.php index c94e009638..c5d2447955 100644 --- a/src/Adapter/Driver/Mysqli/Connection.php +++ b/src/Adapter/Driver/Mysqli/Connection.php @@ -148,6 +148,9 @@ public function connect() } } + if (isset($p['driver_options']['flags'])) { + $flags |= $p['driver_options']['flags']; + } try { $this->resource->real_connect($hostname, $username, $password, $database, $port, $socket, $flags);