Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi team,
I have checked with my hosting team and they confirmed that the database for the environment is Maria DB 10.4.18 . This MariaDB version is the latest and a drop-in replacement/equivalent for MySQL 5.7
But in the Drupal upgrade status page i see see the following error
When using MySQL/Percona, minimum version is 5.7.8 Once updated to at least 5.6, you can also install the MySQL 5.6 driver for Drupal 9 for now.
Thanks
Divya
Comment | File | Size | Author |
---|---|---|---|
#4 | status-report.png | 135.52 KB | divya.lakshman |
#2 | upgrade-status.png | 230.29 KB | divya.lakshman |
Comments
Comment #2
divya.lakshman CreditAttribution: divya.lakshman commentedComment #3
Gábor HojtsyWhat does the regular site status page show?
Comment #4
divya.lakshman CreditAttribution: divya.lakshman commentedComment #5
divya.lakshman CreditAttribution: divya.lakshman commentedHi any update on this.
Comment #6
mglamanWith my testing it seems to work fine. However, it requires that the version is returned correctly.EDIT: I was on D9, not D8. Maybe a regression of #3213533: Fix incorrect MariaDB version reports when used in Drupal 8? See if your database is returning the correct version. And that you have latest 3.x Upgrade StatusThe code in upgrade_status is based on the code from here (D8 compatible, since code is in D9): https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Database%...
Basically, if the version returned is failing that regular expression, it will not be detected as MariabDB.
Maybe your hosting team is obfuscating the database version.
Comment #7
mglamanRelated issue #3213533: Fix incorrect MariaDB version reports when used in Drupal 8
Comment #8
divya.lakshman CreditAttribution: divya.lakshman commentedComment #9
mglaman@divya.lakshman glad to know it was fixed! Are you able to share any insight as to why it was mis-reported? So we can help anyone else who has this same issue.
Comment #11
Nayan Arora CreditAttribution: Nayan Arora commentedCan you tell how it fixed. I am getting same error
Comment #12
Gábor HojtsyIf you are sure that your MySQL version is correct, then I am not sure this need fixing, as long as Drupal itself will understand your correct MySQL version when upgrading, you should be fine. Upgrade Status is reporting this issue as something to look at, but it does not limit its capabilities based on MySQL version and does not block you from doing the upgrade. (It is a reporting and developer tool). I think it would be great to fix MySQL version reporting if it is still a problem but you can also ignore it for now if you are sure it is misreported.
Comment #13
Nayan Arora CreditAttribution: Nayan Arora commentedI still facing this problem on updating my database. I just migrated to drupal 9 from 8. When I tried to run update.php. Its giving me this error. Error: https://prnt.sc/iUiMMnbGxx0P
I am using pantheon and updated my database in pantheon.yml file and chat with pantheon support too. They told me database updated on that specific environment. I don't know now why it's not reflecting in my drupal site.