Skip to content

Commit 014c637

Browse files
committed
ODBC 18, TrustServerCertificate
1 parent d8da070 commit 014c637

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/platform-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545

4646
- uses: Yarden-zamir/install-mssql-odbc@main
4747
with:
48-
ODBC_VERSION: 17
48+
ODBC_VERSION: 18
4949

5050
- name: "Install PHP"
5151
uses: "shivammathur/setup-php@v2"

tests/Platform/QueryResultTypeWalkerFetchTypeMatrixTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4807,6 +4807,9 @@ private function getConnectionParamsForDriver(string $driver): array
48074807
'host' => getenv('MSSQL_HOST'),
48084808
'user' => 'SA',
48094809
'password' => 'Secret.123',
4810+
'driverOptions' => [
4811+
'TrustServerCertificate' => 'yes',
4812+
],
48104813
// user database is created after connection
48114814
];
48124815
default:

0 commit comments

Comments
 (0)