Store loki log to local database

Hi all, I just create Loki on my instance and it is working but is it possible to store all logs to a local database such as MariaDB?

Thank you