From 7a3193159635bc5cf40e9fdc4f823f5d3154b647 Mon Sep 17 00:00:00 2001 From: JoshuaLicense Date: Tue, 20 Aug 2024 17:13:48 +0100 Subject: [PATCH] fix(api): remove `driverOptions` from `export` DB connection --- app/api/config/autoload/config.global.php | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/app/api/config/autoload/config.global.php b/app/api/config/autoload/config.global.php index 1105136891..6318d9bbfc 100644 --- a/app/api/config/autoload/config.global.php +++ b/app/api/config/autoload/config.global.php @@ -54,13 +54,8 @@ ], 'export' => [ 'driverClass' => \Doctrine\DBAL\Driver\PDO\MySQL\Driver::class, - 'params' => $doctrine_connection_params + - [ - 'driverOptions' => [ - PDO::MYSQL_ATTR_USE_BUFFERED_QUERY => false, - PDO::CURSOR_FWDONLY => true, - ], - ], + // Database connection details + 'params' => $doctrine_connection_params, ], ], 'driver' => [