-
-
Notifications
You must be signed in to change notification settings - Fork 115
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
Make use of INSERT ... RETURNING #923
base: main
Are you sure you want to change the base?
Conversation
Is MySQL worth supporting? I haven't been able to find any advantage it has over MariaDB, except for proprietary customers trying to avoid a copyleft license (not a concern here). It's at the point where most common server Linux distributions just install mariadb when told to install mysql. |
That is tempting... The main reason to support it is that Shimmie was originally intended to be "the imageboard which anyone can install anywhere" (because ~20 years ago I was in high school and couldn't make Danbooru run on my $1/month shared LAMP web host). Today's entry-level webhosts (dreamhost, hostgator, etc) still seem to be offering the original mysql 😭 Buuuuuut... the entry-level webhosts do appear to have finally started offering vaguely-recent versions of PHP, which include SQLite, and IMO SQLite is a better choice for small-medium sites anyway, so I guess the question is how many users will I be screwing over if mysql support gets dropped now? Looking at self-reported installs since we started collecting database version numbers in mid 2020:
But then only looking at 2022 onwards:
So of the three people who have checked-in recently and are using mysql, two are already using an explicitly-not-supported version 🤔 Caveat that all the data collection is strictly opt-in, and most people who send a report do so one time straight after installation and never again, so I have no idea how representative it is (I don't even know where this sudden burst of bug reports and pull requests has come from after a few years of near-zero activity 😅 ) |
I wasn't thinking from a shared hosting perspective, you have a good point about staying accessible to hoster-provided LAMP offerings. Admins don't have much choice there.
I wonder if adding a message to the next release/s asking for feedback on phasing out MySQL support will be insightful. Are there any other improvements that could be made if MySQL support were dropped, or is it just this minor change? Because as much as I like code simplification and closing issues, it wouldn't be worth it just for this if it ruins any active boorus.
For me personally, I've recently decided to migrate a booru.org site over to self-hosting, so I've been working on a few Gelbooru 0.1 features to make the change smoother. It wasn't due to any specific change with booru.org so I don't know where other contributors are coming from, but that's the great thing about an accessible tool that anyone can host - people can join and contribute when least expected :) |
This is cleaner... but mysql ;(