userjack6880 / Open-Report-Parser

A Perl based tool to parse DMARC reports from an IMAP mailbox or from the filesystem, and insert the information into a database. Derived from Techsneeze's dmarcts-report-parser
GNU General Public License v3.0
33 stars 9 forks source link

[Request]: add 'mariadb' as database configuration option #28

Open joostdekeijzer opened 7 months ago

joostdekeijzer commented 7 months ago

DBI::mysql requires MySQLv8 since https://github.com/perl5-dbi/DBD-mysql/commit/7e1ce07e70a9d59c695ba9d18150201e30e8f3b9 which can be annoying when you use MariaDB (or another MySQL version).

It would be nice if the DBI type can support MariaDB?

I did a quick test, it seems dbx_mysql.pl can stay unchanged but the report-parser.pl script needs some refactor.