Title: Wrong database version warning.
Last modified: October 13, 2022

---

# Wrong database version warning.

 *  Resolved [AdrianFx](https://wordpress.org/support/users/adrianfx/)
 * (@adrianfx)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/wrong-database-version-warning/)
 * While this is not an impediment in any way, I have discovered that my server 
   is reporting database version in this way: “5.5.5-10.6.7-MariaDB-2ubuntu1.1-log”.
   Causing a notification to show up backend.
 * Here: [https://www.php.net/manual/en/mysqli.get-server-info.php](https://www.php.net/manual/en/mysqli.get-server-info.php)
   accoring to user contribution Windows environments may report an extra 5.5.5 
   in version. My server is using Linux and apparently this was fixed in PHP release
   8.0.16 (17 Feb 2022).
 * Looking at how wordpress reads the version I have found this code `$wpdb->get_var('
   SELECT VERSION()' );` in `class-wp-site-health.php` file. They are taking into
   account if server is MariaDB and compare the version against 10.0. This seams
   to be **a better way** of doing it.
 * A rewrite of the `function cluevo_get_mysql_server_version()` would be necesary
   to remove the wrong version warning I have and have better version compatibility
   going forward.

Viewing 1 replies (of 1 total)

 *  Plugin Author [CLUEVO](https://wordpress.org/support/users/cluevo/)
 * (@cluevo)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/wrong-database-version-warning/#post-16096489)
 * Hey Adrian,
 * thanks for bringing this to our attention. This change will be added in the next
   release.
 * Thanks!

Viewing 1 replies (of 1 total)

The topic ‘Wrong database version warning.’ is closed to new replies.

 * ![](https://ps.w.org/cluevo-lms/assets/icon-256x256.png?rev=2111880)
 * [CLUEVO LMS, E-Learning Platform](https://wordpress.org/plugins/cluevo-lms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cluevo-lms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cluevo-lms/)
 * [Active Topics](https://wordpress.org/support/plugin/cluevo-lms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cluevo-lms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cluevo-lms/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [CLUEVO](https://wordpress.org/support/users/cluevo/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/wrong-database-version-warning/#post-16096489)
 * Status: resolved