if you want to work with a csv like a database you only need
git clone https://github.com/lukaneco/csv-to-docker-mysql.git
cd csv-to-docker-mysql
copy a csv to the folder scripts
run.ps1
run.sh
Based on https://github.com/pavanchhatpar/csv-to-sql-converter
other alternatives
https://numidian.io/convert
http://convertcsv.com/csv-to-sql.htm