修改配置:
docker exec mysql bash -c 'echo "lower_case_table_names=1" >> etc/mysql/mysql.conf.d/mysqld.cnf'
重启:
docker restart mysql