Blocklist MySQL 8.0 and newer in checksetup.pl
Categories
(Bugzilla :: Installation & Upgrading, enhancement)
Tracking
()
People
(Reporter: justdave, Assigned: justdave)
References
(Regression)
Details
Attachments
(2 files, 10 obsolete files)
MySQL >= 8.0 currently does not work with Bugzilla due to 'groups' becoming a reserved keyword (it's the name of one of our tables).
While proper MySQL 8 support is in the works, it's not in place yet, and until then, we need to properly prevent people from trying to use it, because it will only be a headache.
Assignee | ||
Comment 1•1 year ago
|
||
Assignee | ||
Comment 2•1 year ago
|
||
Assignee | ||
Comment 3•1 year ago
|
||
got tabs in that last patch on accident, oops.
Assignee | ||
Comment 4•1 year ago
|
||
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Assignee | ||
Comment 5•1 year ago
|
||
Assignee | ||
Comment 6•1 year ago
|
||
Assignee | ||
Comment 7•1 year ago
|
||
The harmony patch here is wrong... it needs MariaDB 10.0 instead of 5.1.
Also the 5.2 patch is wrong... and has been since Bugzilla 5.0.5. Minimum MySQL version bump from 5.0.15 to 5.6.12 because of the InnoDB Fulltext index.
Will fix when I get the PRs created.
Assignee | ||
Comment 8•1 year ago
|
||
Assignee | ||
Comment 9•1 year ago
|
||
Assignee | ||
Comment 10•1 year ago
|
||
Assignee | ||
Comment 11•1 year ago
|
||
Assignee | ||
Comment 12•1 year ago
|
||
Comment 13•1 year ago
|
||
(In reply to Dave Miller [:justdave] from comment #7)
Also the 5.2 patch is wrong... and has been since Bugzilla 5.0.5. Minimum MySQL version bump from 5.0.15 to 5.6.12 because of the InnoDB Fulltext index.
Yes, see bug 868867 and bug 868869.
Assignee | ||
Comment 14•1 year ago
|
||
Per bug 868869 the minimum MariaDB needs to be 10.0.5
Updates patches coming up.
Assignee | ||
Comment 15•1 year ago
|
||
Per bug 868867 the minimum DBD::mysql also needs to be 4.032
Assignee | ||
Comment 16•1 year ago
|
||
Pull requests for 5.2 and Harmony have been updated
Comment 17•1 year ago
|
||
For UTF-8 support. 4.001 makes sure that blobs aren't
# marked as UTF-8.
version => '4.032',
Your comment is confusing as you mention 4.001 but you require 4.032.
Comment 18•1 year ago
|
||
Err... what's this ugly formatting??? What did Bugzilla do to my previous comment??
Comment 19•1 year ago
|
||
In your patches, you require DBD::mysql to use MariaDB. I don't understand why. Why don't you require DBD::MariaDB instead? This would make more sense, IMO. See https://metacpan.org/dist/DBD-MariaDB
Also, wouldn't it be safer to require MySQL 5.7 instead of 5.6.12? Per https://endoflife.software/applications/databases/mysql, MySQL 5.6 reached EOL in February 2021. Also, per https://github.com/perl5-dbi/DBD-mysql/commit/9076a7f7, the next release of DBD::mysql will only support MySQL 5.7 and newer.
Assignee | ||
Comment 20•1 year ago
|
||
(In reply to Frédéric Buclin from comment #19)
In your patches, you require DBD::mysql to use MariaDB. I don't understand why. Why don't you require DBD::MariaDB instead? This would make more sense, IMO. See https://metacpan.org/dist/DBD-MariaDB
Because MySQL and MariaDB are compatible at the driver level. And if I read the documentation for DBD::MariaDB correctly, it can also be used with MySQL. They forked DBD::mysql because the maintainers were too slow with bug fixes.
For a quick fix designed to get MySQL 8 blocked until we get our compatibility issues fixed, this is good enough. We can definitely do this right on a future version. Although we'd need a Bugzilla::DB::MariaDB to go with it as well, which is the reason I don't want it in this set of patches.
Also, wouldn't it be safer to require MySQL 5.7 instead of 5.6.12? Per https://endoflife.software/applications/databases/mysql, MySQL 5.6 reached EOL in February 2021. Also, per https://github.com/perl5-dbi/DBD-mysql/commit/9076a7f7, the next release of DBD::mysql will only support MySQL 5.7 and newer.
We probably have lots of minimum versions on things that are prerequisites for us that are no-longer-supported versions. If we know we're not broken on that version why block it? Maybe they have some reason they can't upgrade. It'd be on them to make sure they're using security-supported versions of things.
Assignee | ||
Comment 21•1 year ago
|
||
Also worth noting: DBD::MariaDB is not available on Ubuntu 20.04. Users will be required to install it via CPAN if we require it.
Comment hidden (offtopic) |
Comment hidden (offtopic) |
Comment hidden (offtopic) |
Comment hidden (offtopic) |
Comment hidden (offtopic) |
Assignee | ||
Updated•1 year ago
|
Comment 27•1 year ago
|
||
Assignee | ||
Comment 28•1 year ago
|
||
(In reply to Frédéric Buclin from comment #27)
IMO, the 4.4 branch is not the right place to do such changes. It's beyond the "security fixes only" policy.
Should we just ignore the 4.4 branch on this on the grounds that anyone running it is probably on an older OS and they should be migrating to a newer branch if they have a newer OS with the versions that break the old Bugzilla?
Comment 29•1 year ago
|
||
(In reply to Dave Miller [:justdave] from comment #28)
Should we just ignore the 4.4 branch on this on the grounds that anyone running it is probably on an older OS and they should be migrating to a newer branch if they have a newer OS with the versions that break the old Bugzilla?
IMO, yes.
Assignee | ||
Comment 30•11 months ago
|
||
Assignee | ||
Updated•11 months ago
|
Assignee | ||
Comment 31•9 months ago
|
||
Assignee | ||
Comment 32•7 months ago
|
||
Comment on attachment 9351399 [details] [review]
GitHub Pull Request for harmony
MySQL 8+ support landed on Harmony as well, so this is no longer needed there, either.
Assignee | ||
Updated•7 months ago
|
Assignee | ||
Comment 34•7 months ago
|
||
Comment on attachment 9351398 [details] [review]
GitHub Pull Request for trunk (5.1)
Landed on master:
https://github.com/bugzilla/bugzilla/commit/4854aec9dd8ecef82679a4f2fbf6688516a15f56
Assignee | ||
Comment 35•7 months ago
|
||
Comment on attachment 9351396 [details] [review]
GitHub Pull Request for 5.0.4
Landed:
https://github.com/bugzilla/bugzilla/commit/18ba4d3977ee5ce01057e51299a40eeaaf2507cb
Assignee | ||
Updated•7 months ago
|
Assignee | ||
Updated•1 month ago
|
Description
•