Migrate from sqlite > mariadb in pyvenv

Hi,

Suffered a DB corruption which i think was caused by the large single sqlite file on an sd card.

I’ve seen instructions on how to change to mariadb and set it in the recored - but im struggling to get it done.

Running via pyvenv on Raspbian - any pointers would be appreciated!

EDIT

This can be closed - was missing the details specific to mariadb - namely specifying the port.