db2xlsx

db2xlsx connects to a MySQL (or equivalent such as MariaDB) database, extracts the tables and their columns, and exports this data to an XLSX file which can be opened in Microsoft Excel and LibreOffice.