-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use MySQL 8 ODBC drivers for MariaDB #223
Comments
I only tried this with the MySQL 8.0.33 ODBC driver, but I believe the outcome would be the same if some other version of the MySQL 8 ODBC driver were used (e.g. v8.4.x). |
Related to #208 (possibly) |
I'll take care of this today |
Their issue tracker is here if you want to open an issue about it (if there isn't one already). |
Will take a look. |
Since iRODS works just fine with MariaDB when the MySQL ODBC driver is used, let's switch over. I've left a boolean at the top of `odbc_setup.py` that can be used to switch back to the MariaDB ODBC driver, to allow for easier testing when working on irods/irods#7323. Once irods/irods#7323 is fixed, this commit should be reverted, unless it has already been superseded by irods#208.
Since iRODS works just fine with MariaDB when the MySQL ODBC driver is used, let's switch over. I've left a boolean at the top of `odbc_setup.py` that can be used to switch back to the MariaDB ODBC driver, to allow for easier testing when working on irods/irods#7323. Once irods/irods#7323 is fixed, this commit should be reverted, unless it has already been superseded by #208.
Using a modified build of the testing environment, I was able to watch all unit tests and core tests pass for an iRODS server with MariaDB 11.4.
The key to this was:
SQLRowCount
--transaction_isolation=READ-COMMITTED
--character_set_server=utf8mb4
--collation_server=utf8mb4_bin
The testing environment needs to be updated to use the MySQL 8 ODBC drivers until we find a suitable MariaDB ODBC driver.
The text was updated successfully, but these errors were encountered: