MySQL Native Driver support

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
povallee
Posts: 2
Joined: 31 Jul 2024, 16:09

MySQL Native Driver support

Post by povallee »

Hello,

I'm trying to update our current Mantis installation (Version 2.25.4) to the latest version. Right after i click on the "Install/Update database" button i'm getting an error in the "Checking installation" section:

Checking PHP support for MySQL Native Driver - BAD Check that the MySQL Native Driver (mysqlnd) has been compiled into your server.

I also tried to install a new Mantis installation with a brand new DB just in case and same issue.
I was looking at the Administrator guide and i could not see anything about the MySQL Native Driver requirement. Is there something that i need to change before upgrading to 2.26.2 ?


EDIT:
I just wanted to add that we are currently running PHP version 7.4 (Once Mantis will be upgraded we will change the version to 8.0 as recommended). In the list package/extension i can see that mysqlnd is checked and enabled. (Our current version of Mantis is working just fine)

Thank you
povallee
Posts: 2
Joined: 31 Jul 2024, 16:09

Re: MySQL Native Driver support

Post by povallee »

I just found this issue that seems to be the same that we have: https://mantisbt.org/bugs/view.php?id=33519

Our hosting provider is currently running MariaDB version 10.3.39. So until they upgrade their version to 10.4 there is no way for us to upgrade to the latest version of mantis ?

Thank you
dregad
Developer
Posts: 95
Joined: 26 Jul 2010, 14:24

Re: MySQL Native Driver support

Post by dregad »

Since I was never able to reproduce the original problem I can't be 100% sure if the problem was caused by a missing / outdated mysqlnd PHP extension, or something wrong with MariaDB.

Anyway I'm afraid you're stuck with 2.25 until mysqlnd is available to PHP.
Post Reply