Importing CSV to MySQL (docker-compose)

In order to import CSV to MySQL, you need to enable the global variable SET GLOBAL local_infile=1. If you do this via SQL Shell, then everything works fine.

But I need to make this setting set automatically when starting the docker container. To do this, I added the --local-infile=1 command to docker-compose at .wappler\targets\Development\docker-compose.yml, but it doesn’t work.

Tell me, please, what could be the problem?

Community Page
Last updated: