airship icon indicating copy to clipboard operation
airship copied to clipboard

MariaDB Support (Formerly: MySQL Support)

Open paragonie-scott opened this issue 8 years ago • 9 comments

Right now, I've only written support for PostgreSQL. Before v1.0.0, we should also support MySQL backends.

paragonie-scott avatar Mar 30 '16 04:03 paragonie-scott

Questions:

  1. Does MySQL support all of the features we use from PostgreSQL here? https://github.com/paragonie/airship/tree/master/src/Installer/sql/pgsql
  2. Do we need to rewrite a substantial amount of queries?

paragonie-scott avatar Apr 05 '16 14:04 paragonie-scott

This is actually a very low priority for us, as no one seems to want it (and we're more than comfortable sticking to PostgreSQL).

Leaving it open in case I'm wrong, but might just close it if we reach the v1.0.0 milestone and there's no interest in MySQL/MariaDB.

paragonie-scott avatar May 16 '16 06:05 paragonie-scott

MySQL support would probably help adoption considering how closely coupled PHP and MySQL tend to be. As long as we're not doing too much (any?) PostgreSQL specific stuff it shouldn't be a huge hassle to add MySQL support later on.

kmark avatar May 16 '16 10:05 kmark

Yeah, especially the latest version of MySQL with JSON support.

Does anyone else want to try to jump on creating the appropriate .sql files for MySQL after we get 0.2.0 out? I don't use MySQL much these days.

paragonie-scott avatar May 22 '16 02:05 paragonie-scott

Debating punting this to 2.0.0, because widespread adoption will require libsodium anyway.

paragonie-scott avatar Jun 20 '16 17:06 paragonie-scott

Okay, after reading this, I'm going to just say NO to MySQL and instead pivot for MariaDB support in 2.0

paragonie-scott avatar Jun 28 '16 16:06 paragonie-scott

+1 for MariaDB but database side checks are apparently slow anyway iirc

co60ca avatar Jun 30 '16 22:06 co60ca

Bumping off v2.0.0 because there's no telling when MariaDB will allow WITH RECURSIVE queries.

paragonie-scott avatar Nov 15 '16 21:11 paragonie-scott

We can expect MySQL 8 to support WITH RECURSIVE queries.

When that is released and generally available, we can seriously consider MySQL support.

paragonie-scott avatar Feb 22 '17 16:02 paragonie-scott