Fixed #667: MariaDB support