command
Version:
v1.8.0
Opens a new window with list of versions in this module.
Published: Sep 11, 2026
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
migrate 演示安装工具场景的最小形态:进程内完成一次结构 + 数据迁移。
export SRC_TYPE=mysql SRC_HOST=10.0.0.1 SRC_PORT=3306 SRC_USER=root SRC_PASSWORD=*** SRC_DBNAME=app
export TGT_TYPE=mysql TGT_HOST=10.0.0.2 TGT_PORT=3306 TGT_USER=root TGT_PASSWORD=*** TGT_DBNAME=app_new
go run ./examples/migrate
Source Files
¶
Click to show internal directories.
Click to hide internal directories.