Skip to content

Driver options are not passed to the primary\replica configuration #1416

@GDXbsv

Description

@GDXbsv

When we use

  'options'               => [
      \PDO::ATTR_STRINGIFY_FETCHES        => 1,
      \PDO::MYSQL_ATTR_USE_BUFFERED_QUERY => false
  ],

With one connection without replicas, this options passed in the driver configuration. (See \Doctrine\DBAL\Driver\PDO\MySQL\Driver::connect --> $params['driverOptions'])

When we add a replica, then the bundle do not include those driver options in the replica and primary configuration options.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions