Adding functionality for MariaDb