RT with MariaDB

Hello,

Is it possible to install RT with MariaDB as the backend?
When I run make testdeps, DBD::MySQL is missing. And DBD::MySQL does not install when I use MariaDB because DBD::mysql requires MySQL 8.x for building :frowning:

MYSQL dependencies:
    DBD::mysql >= 2.1018, != 4.042 ......................... MISSING

SMIME dependencies:
    Crypt::X509 ............................................ ok
    File::Which ............................................ ok
    String::ShellQuote ..................................... ok


---------------------------------------------------------------------------

SOME DEPENDENCIES WERE MISSING:

MYSQL dependencies:
    DBD::mysql >= 2.1018, != 4.042 ......................... MISSING

Perl library path for /usr/local/bin/perl:
    /usr/local/lib/perl5/site_perl/mach/5.36
    /usr/local/lib/perl5/site_perl
    /usr/local/lib/perl5/5.36/mach
    /usr/local/lib/perl5/5.36
*** Error code 1

Stop.
make: stopped in /usr/home/wash/Tools-2/RT/rt-5.0.5

Hi, i cant help you on this specific issue but you seems impacted by this bug:
Mysql dependency error with MariaDB and Debian 12 - Request Tracker Community Forum (bestpractical.com)

If you start on a fresh server and database, for avoid future problem with text searching, i suggest you to go on a postgresql database who give better result with RT.
Kind regards,

It is possible to install RT with MariaDB as the backend. I currently run mine with mariaDB as the backend database.

You can solve this error a couple ways. It depends on your OS. I’m going to assume that you have Debian or Ubuntu.

You can run:

cpan DBD::mysql

When I ran this on my installation it didn’t solve this problem for me but it’s an option. What I ran and it worked was:

apt install libdbd-mysql-perl

I hope this helps you.