Warning about MariaDB too old - but it is not

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

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?

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