Files
ITAM-test/docker/mysql/init
SDI fa8dec1780
Some checks failed
ITAM Code Check / build-and-config-check (push) Failing after 11s
ITAM Docker Build Check / docker-build-check (push) Successful in 39s
feat:CI/CD Gitea 워크플로우 등 누락 파일 반영
2026-06-18 13:39:35 +09:00
..

MySQL init directory

This directory is kept as a legacy hook for file-based MySQL initialization.

Current production path in this repository is not file-based import. The live Docker flow uses the db-bootstrap service in docker-compose.yaml to stream data from the external source DB into the internal db container.

Use this directory only if you intentionally switch back to docker-entrypoint-initdb.d style initialization.

If you do that, typical naming would be:

  • 01_schema.sql
  • 02_seed.sql
  • or a single 01_itam_dump.sql

Remember that files in this directory are executed automatically by the MySQL container only on the first initialization of the data volume.