Closed (fixed)
Project:
MySQL 5.6 and MariaDB 10.0 database driver
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Jun 2024 at 00:23 UTC
Updated:
4 Nov 2024 at 20:52 UTC
Jump to comment: Most recent
Comments
Comment #2
guardiola86 commentedPatch works, thanks @emptyvoid. I encountered this issue though, composer was still complaining, because it was checking the version before applying the patch:
Problem 1
- Root composer.json requires drupal/mysql56 == 1.7.0.0 -> satisfiable by drupal/mysql56[1.7.0].
- drupal/mysql56 1.7.0 requires drupal/core ^9.4 || 10.0.* || 10.1.* || 10.2.* -> found drupal/core[9.4.0-alpha1, ..., 9.5.x-dev, 10.0.0-alpha1, ..., 10.2.x-dev] but these were not loaded, likely because it conflicts with another require.
So what I did was using https://github.com/mglaman/composer-drupal-lenient and adding the module to the section in composer.json:
"drupal-lenient": {
"allowed-list": [
"drupal/mysql56"
]
}
Comment #3
pierrepaul commentedWorks for me as well
Comment #4
pierrepaul commentedI just noticed the README.md mention this :
So I'm not sure if this module is still required and if we should add support to Drupal 10.3. If someone has some insights on this... we could update the readme instead of the composer.json.
Comment #5
balsamaI _think_ that comment anticipated that #3343634: Add "json" as core data type to Schema and Database API would land prior to 10.3, which it didn't.
So, if your platform still uses MySQL 5.6, you will need this module to run 10.3.
Comment #9
effulgentsia commented#5 is correct. Since JSON queries haven't landed in Drupal 10, and Drupal 11 is already released, so they won't land in 10.4, 10.5, etc. either, we can both support 10.3 now, and relax the constraint to
^10as #6's MR does. Therefore, merged this to 8.x-1.x.I'll run some tests next week before tagging a release with this fix, but I don't expect that to uncover any major problems.
Comment #11
bkosborneHi - can a new release please be tagged for this?