Commit Graph

1 Commits

Author SHA1 Message Date
tigermren 1938d26462 Initial commit: TiDB local development environment with DM
- Minimal TiDB setup in standalone mode (no PD/TiKV needed)
- TiDB Data Migration (DM) for continuous sync from test env
- Automated initialization and configuration
- Docker Compose v2 support
- Health checks and proper service dependencies
- DataGrip/MySQL client connectivity
- Comprehensive documentation and helper scripts

Features:
- Auto-sync data from test environment to local TiDB
- Multiple tables support via environment variables
- Easy sync control (start/stop/pause/resume)
- Connection testing and status monitoring
- Troubleshooting guide

Scripts:
- start.sh: Quick start environment
- status.sh: Check sync status
- sync-control.sh: Manage sync tasks
- test-connection.sh: Verify TiDB connectivity
- check-docker.sh: Verify Docker setup

Documentation:
- README.md: Main setup guide
- SYNC_GUIDE.md: Data synchronization guide
- DATAGRIP_SETUP.md: Database client setup
- DOCKER_COMPOSE_V2.md: Migration guide
- TROUBLESHOOTING.md: Common issues and solutions
2025-10-16 01:11:20 +08:00