Skip to content

How to use sqlsrv 2019? #2093

@ingLomeland

Description

@ingLomeland

Hi,

using docker with mssql image mcr.microsoft.com/mssql/server:2019-latest

how to set up phinx with TrustServerCertificate=true ?

Getting this error when trying to migrate
PDOException: SQLSTATE[08001]: [Microsoft][ODBC Driver 18 for SQL Server]SSL Provider: [error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:self signed certificate] in /var/www/api/vendor/robmorgan/phinx/src/Phinx/Db/Adapter/PdoAdapter.php:84

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions