-
Notifications
You must be signed in to change notification settings - Fork 45
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
MySQL 5.7 support? #66
Comments
I've been meaning to look into this in detail since you posted but I haven't found the time. However, we do have several clients who use D6LTS in production on MySQL 5.7 and I have tested it locally on MySQL 8. It's possible there's some configuration setting that we/they are using which makes that work? In any case, just thought I'd drop in that note for now. I'm still planning to look deeper into this later! |
we are successfully using d6lts in production with mysql5.7 only change version to drupal/includes/database.mysqli.inc Line 94 in e91aab6
|
AFAICS this patch is already part of this codebase, I could run 5.7 and 8.0 without any issues. |
I have it running on MariaDB 10.5.15, so it's definitely possible, too. Unfortunately I set that up such a long time ago that I don't know if anything specific was required to make that happen. However, the defaults mentioned for SQL_MODE don't include ONLY_FULL_GROUP_BY. The use of the database is at a low enough level and via a stable enough interface that it's rarely the issue. |
Don't know if it is intentional, but I guess supporting MySQL 5.7 has the same "ONLY_FULL_GROUP_BY" problem that prevents D6LTS working on MySQL 8.0.
I upgraded a working D6LTS v6.59 to MySQL 5.7 (my hosting company is not supporting MySQL 8) and taxonomies' querys got broken. However, adapting the modified code in database.mysqli.inc to disable ONLY_FULL_GROUP_BY also for 5.7 made the site working fine again.
Maybe you could easily add support for 5.7.
BTW: a big thank you to My Drop Wizzard team for your work on D6LTS. I just have a humble site and can't hire any of your plans, but you have been reallly helpful. I owe you some beers!
The text was updated successfully, but these errors were encountered: