diff --git a/src/Pool/DatabasePool.php b/src/Pool/DatabasePool.php index c01799be..1f8cbad7 100644 --- a/src/Pool/DatabasePool.php +++ b/src/Pool/DatabasePool.php @@ -58,6 +58,8 @@ public function getConnection($key) 'charset' => isset($config['charset']) ? $config['charset'] : 'utf8', 'port' => isset($config['port']) ? $config['port'] : 3306, 'prefix' => isset($config['prefix']) ? $config['prefix'] : '', + 'option' => isset($config['option']) ? $config['option'] : [], + 'command' => isset($config['command']) ? $config['command'] : [], ] ); }