MathematicalMedicine / diver-issues

Semipublic tracking of issues for the DIVER front end
0 stars 0 forks source link

MariaDB -> MySQL 8 needed #246

Open Viqsi opened 2 months ago

Viqsi commented 2 months ago

ISI does not have MariaDB available, so we have to port our routines to MySQL 8.

The majority of the code should be fine. Should be. But we know there are subtle incompatibilities - especially in JSON handling - so this could get a little "interesting".

Related question - do we want to try to support both? I could see this leading to much wailing and gnashing of teeth and loss of hair and so I'm hesitant.

WValenti commented 2 months ago

If it is dynamically conditional, then it's easy to check for and set a value to find out what we're dealing with. I'd prefer this so we don't have to uproot our dev environments. Especially the one for DMD, which would be a nightmare to redo. We should also show the SQL type/version along with the other on-page versions.

Viqsi commented 1 month ago

The differences between MariaDB 10.11 and MySQL 8 are pretty extensive: https://mariadb.com/kb/en/incompatibilities-and-feature-differences-between-mariadb-10-11-and-mysql-8/

Most notable concerns are:

Other than that it's mostly small subtle things to trip over, some of which we've made a point of avoiding previously (such as "CREATE OR REPLACE TABLE").

Viqsi commented 1 month ago

It is possible because of the above that we might have to insist on MariaDB. That would, of course, lead to all sorts of Politics fun.