# Warning about MariaDB too old - but it is not

**URL:** <https://forum.mautic.org/t/warning-about-mariadb-too-old-but-it-is-not/15879>\
**Category:** Product Support\
**Created:** [August 31, 2020, 8:03am UTC](https://forum.mautic.org/t/warning-about-mariadb-too-old-but-it-is-not/15879 "2020-08-31T08:03:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![maumatic](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/maumatic/32/3284_2.png) [@maumatic](https://forum.mautic.org/u/maumatic)\
**Post date:** [August 31, 2020, 8:03am UTC](https://forum.mautic.org/t/warning-about-mariadb-too-old-but-it-is-not/15879/1 "2020-08-31T08:03:31Z")

</div>

**Your software**  
My Mautic version is: 3.1.0  
My PHP version is: 7.3.20  
My MariaDB version is : 10.5

**Your problem**  
My problem is: when running migrate I’m getting a warning saying my MariaDB server is too old

```
# php bin/console doctrine:migrations:migrate

Your database version (5.5.5-10.1.35-MariaDB) does not support generated columns. Upgrade at least to 10.2.6 and update `db_server_version` accordingly to get the speed improvements.

```

**But my MariaDB server is version 10.5:**

```
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 375048
Server version: 10.5.5-MariaDB MariaDB Server

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]>

```

These errors are showing in the log: no related errors in the log

Steps I have tried to fix the problem: no clue where to start to fix this problem. Both my MariaDB client and server are version 10.5

```
# yum list installed | grep -i maria
MariaDB-client.x86_64 10.5.5-1.el7.centos @mariadb
MariaDB-common.x86_64 10.5.5-1.el7.centos @mariadb
MariaDB-compat.x86_64 10.5.5-1.el7.centos @mariadb
MariaDB-server.x86_64 10.5.5-1.el7.centos @mariadb
MariaDB-shared.x86_64 10.5.5-1.el7.centos @mariadb
galera-4.x86_64 26.4.5-1.el7.centos @mariadb

```

So must be a bug of some sort

---

<div class="post-metadata">

**Author:** ![madpet](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/madpet/32/1131_2.png) [@madpet](https://forum.mautic.org/u/madpet)\
**Post date:** [August 31, 2020, 1:13pm UTC](https://forum.mautic.org/t/warning-about-mariadb-too-old-but-it-is-not/15879/2 "2020-08-31T13:13:30Z")

</div>

I think I once experienced something similar. IIRC it had something to do with the mysql-connector used by PHP (mysqli in my case) seemingly pointing to an old version or something like that. What does `phpinfo();` show about mysql/mysqli?

---

<div class="post-metadata">

**Author:** ![maumatic](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/maumatic/32/3284_2.png) [@maumatic](https://forum.mautic.org/u/maumatic)\
**Post date:** [August 31, 2020, 6:14pm UTC](https://forum.mautic.org/t/warning-about-mariadb-too-old-but-it-is-not/15879/3 "2020-08-31T18:14:36Z")

</div>

Thanks for your suggestion.

I looked at the phpinfo() and there’s nothing about the version numbers 5.5.5 and 10.1.35 or something near that.

Here’s the report about mysqli:

## mysqli

| MysqlI Support | enabled |
| --- | --- |
| Client API library version | mysqlnd 5.0.12-dev - 20150407 - Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 |
| Active Persistent Links | 0 |
| Inactive Persistent Links | 0 |
| Active Links | 0 |

| Directive | Local Value | Master Value |
| --- | --- | --- |
| mysqli.allow\_local\_infile | Off | Off |
| mysqli.allow\_persistent | On | On |
| mysqli.default\_host | _no value_ | _no value_ |
| mysqli.default\_port | 3306 | 3306 |
| mysqli.default\_pw | _no value_ | _no value_ |
| mysqli.default\_socket | /var/lib/mysql/mysql.sock | /var/lib/mysql/mysql.sock |
| mysqli.default\_user | _no value_ | _no value_ |
| mysqli.max\_links | Unlimited | Unlimited |
| mysqli.max\_persistent | Unlimited | Unlimited |
| mysqli.reconnect | Off | Off |
| mysqli.rollback\_on\_cached\_plink | Off | Off |

## mysqlnd

| mysqlnd | enabled |
| --- | --- |
| Version | mysqlnd 5.0.12-dev - 20150407 - Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 |
| Compression | supported |
| core SSL | supported |
| extended SSL | supported |
| Command buffer size | 4096 |
| Read buffer size | 32768 |
| Read timeout | 86400 |
| Collecting statistics | Yes |
| Collecting memory statistics | No |
| Tracing | n/a |
| Loaded plugins | mysqlnd,debug\_trace,auth\_plugin\_mysql\_native\_password,auth\_plugin\_mysql\_clear\_password,auth\_plugin\_sha256\_password |
| API Extensions | mysqli,pdo\_mysql |
