Skip to content

Custom Driver Options in DSN URL #5293

@mvorisek

Description

@mvorisek

This is a question.

Based on https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#custom-driver-options driverOptions can be used to specify driver specific options.

For MSSQL I need to specify TrustServerCertificate=1. How can I specify such option in DSN URL so it is parsed correctly to driverOptions array?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions