Skip to content

Commit 190d335

Browse files
authored
ci: keep up with mysql driver updates (r-dbi#860)
* ci: keep up with mysql driver updates * ci: A more permanent solution for mysql/windows
1 parent ab9421f commit 190d335

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/db-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
if: matrix.database == 'MySQL'
5757
run: |
5858
choco install mysql.odbc
59-
echo "ODBC_CS_MYSQL=Driver={MySQL ODBC 9.0 ANSI Driver};Server=127.0.0.1;Database=test;User=root;Password=" >> $env:GITHUB_ENV
59+
echo "ODBC_CS_MYSQL=Driver={$(Get-OdbcDriver -Platform 64-bit | Select-Object -ExpandProperty Name | Select-String -Pattern 'ANSI')};Server=127.0.0.1;Database=test;User=root;Password=" >> $env:GITHUB_ENV
6060
6161
- name: Install PostgreSQL
6262
if: matrix.database == 'PostgreSQL'

0 commit comments

Comments
 (0)