# openim-data-tools **Repository Path**: liserc/openim-data-tools ## Basic Information - **Project Name**: openim-data-tools - **Description**: Data conversion v3 version MYSQL -> MONGODB - **Primary Language**: Go - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-10-15 - **Last Updated**: 2024-10-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Data conversion v3 version MYSQL -> MONGODB ## OPENIM-SERVER * `https://github.com/openimsdk/open-im-server` * v3 version, versions below v3.5 are upgraded to v3.5 and above. ```shell cd openim go build -o openim main.go ./openim -c config.yaml ``` The output of `run success` indicates that the conversion is successful and the program exits. ## CHAT * `https://github.com/openimsdk/chat` * Compatible with `https://github.com/openimsdk/open-im-server` v3 version * v1.6 version, versions below v1.6 can be upgraded to v1.6 and above. * Only use `https://github.com/openimsdk/open-im-server`. Self-implemented business servers do not need to be converted. ```shell cd chat go build -o chat main.go ./chat -c config.yaml ``` The output of `run success` indicates that the conversion is successful and the program exits. ## Docker ```shell go build -o target/openim openim/main.go go build -o target/chat chat/main.go docker build -t openim-data-tools:v3.5.0 . ```