Hello.

I need to add to the Docker container, which is a container for MySQL, an attribute that changes the mysql.ini file. Specifically, I need to add

myisam_max_sort_file_size = 10G 

I understand you need to change something in docker-compose.yml.

Tell me what exactly you need to add?

  • just create a file and mount it, in a standard image there is even a special directory for this, /etc/mysql/conf.d or something like that - etki
  • @etki I don't need to completely change the whole file, I just need to add one attribute - Hennadii Shvedko
  • one
    I just added a remark about the directory to the fact that you do not need to rewrite the main config. I now have this line in volumes successfully working - ./resources/development/mysql-overrides.docker.cnf:/etc/mysql/conf.d/development-overrides.cnf - etki

0