Skip to content

Commit f24d440

Browse files
committed
Try connector for earlier Ubuntu version and DPKG
1 parent 723cee1 commit f24d440

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/common_tests.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,11 @@ jobs:
101101
curl --silent --show-error --write-out "$CURL_OUTPUT_FORMAT" -O "https://dev.mysql.com/get/Downloads/Connector-ODBC/9.2/${MYSQL_DRIVER}"
102102
ls -l "${MYSQL_DRIVER}"
103103
echo "*** apt-get install the driver"
104-
sudo apt-get install --yes "./${MYSQL_DRIVER}"
104+
sudo dpkg -i "./${MYSQL_DRIVER}"
105+
sudo apt-get install -f
105106
env:
106107
CURL_OUTPUT_FORMAT: '%{http_code} %{filename_effective} %{size_download} %{time_total}\n'
107-
MYSQL_DRIVER: mysql-connector-odbc_9.2.0-1ubuntu24.10_amd64.deb
108+
MYSQL_DRIVER: mysql-connector-odbc_9.2.0-1ubuntu24.04_amd64.deb
108109

109110
- name: Check ODBC setup
110111
if: matrix.py_db_module == 'pyodbc'

0 commit comments

Comments
 (0)