Export MySql and mariadb database to multiple files. Every table will be stored in a file
Tables will be stored in the current directory
Every table will have the extension .sql.gz
You can extract a file using the following command:
gunzip tablename.sql.gz
git clone https://github.com/etiennerached/export-mysql-database-to-tables
bash ThisFileName DatabaseHost DatabaseUsername DatabaseName
bash exportMysqlDatabaseToTables.sh localhost username dbName