MySQL writer


I would like to know, is there any way to write logs to MySQL ?

I see writers at src/logging/writers: SQLite, ElasticSearch, DataSeries, Ascii

I want a writer for MySQL.
If there is no one, I need to write one.
Are there are general hints how to do this?
Maybe exist some documents how to add writer.

How do you find idea to fill-up MySQL database with normalised data (batches 50,000 entries) ?

Thank you.