On 21/Dec/2021 23:01 Joaquim Homrighausen <jo...@we...> wrote ..
>
> I installed MariaDB 10.6.x on Ubuntu 20.04, from the MariaDB repo.
>
> Webmin can access it, manage it, and so on. After having done a "refresh
> modules" and re-loading the Webmin interface, it also correctly shows
> "MariaDB Databas Server" in the left hand menu.
>
>
> But on the MariaDB Database Server page/screen, there's a warning
> message displayed:
>
> "Warning: The Perl module DBD::mysql is not installed on your system, so
> Webmin will not be able to reliably access your MariaDB database."
>
> Which is rather odd since it seems to be able to manage all the
> databases, tables, etc. just fine :-)
>
>
> The "libdbd-mariadb-perl" package is installed.
>
> I have now installed the "libdbd-mysql-perl" package as well, but the
> warning is still there (after a refresh, etc).
That perl module isn't strictly required, as Webmin can still use the
"mysql" command to connect to the database and send queries. However, it's
less reliable especially when querying complex tables, as Webmin has to
parse the text output from the command.
You can check if it's installed and working by SSHing in as root and running :
perl -e 'use DBD::mysql'
|