mirror of
https://github.com/shlinkio/shlink.git
synced 2025-02-25 18:45:27 -06:00
Added MYSQL_ATTR_USE_BUFFERED_QUERY driver option with value true for mysql/maria connections
This commit is contained in:
@@ -35,6 +35,7 @@ $buildDbConnection = function (): array {
|
||||
'charset' => 'utf8',
|
||||
'driverOptions' => [
|
||||
PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES utf8',
|
||||
PDO::MYSQL_ATTR_USE_BUFFERED_QUERY => true,
|
||||
],
|
||||
],
|
||||
'postgres' => [
|
||||
|
||||
Reference in New Issue
Block a user