Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

migrate: migrate from mysql files #3252

Merged
merged 17 commits into from
May 26, 2020

Conversation

3pointer
Copy link
Contributor

What is changed, added or deleted? (Required)

Add docs about migrate from mysql dump files to TiDB

Which TiDB version(s) do your changes apply to? (Required)

  • master (the latest development version)
  • v4.0 (TiDB 4.0 versions)
  • v3.1 (TiDB 3.1 versions)
  • v3.0 (TiDB 3.0 versions)
  • v2.1 (TiDB 2.1 versions)

What is the related PR or file link(s)?

N/A

  • This PR is translated from:
  • Other reference link(s):

@sre-bot sre-bot added special-week PR from Document Special Week. status/PTAL This PR is ready for reviewing. translation/welcome Waits for a contributor to translate this PR and create a PR to the pingcap/docs-cn repository. labels May 22, 2020
@sre-bot sre-bot requested review from kissmydb and lilin90 May 22, 2020 06:20
migrate-from-mysql-mydumper-files.md Outdated Show resolved Hide resolved
migrate-from-mysql-mydumper-files.md Outdated Show resolved Hide resolved
migrate-from-mysql-mydumper-files.md Outdated Show resolved Hide resolved
migrate-from-mysql-mydumper-files.md Outdated Show resolved Hide resolved
migrate-from-mysql-mydumper-files.md Outdated Show resolved Hide resolved
migrate-from-mysql-mydumper-files.md Outdated Show resolved Hide resolved
migrate-from-mysql-mydumper-files.md Show resolved Hide resolved
migrate-from-mysql-mydumper-files.md Outdated Show resolved Hide resolved
migrate-from-mysql-mydumper-files.md Outdated Show resolved Hide resolved
migrate-from-mysql-mydumper-files.md Outdated Show resolved Hide resolved
@lilin90 lilin90 added the status/require-change Needs the author to address comments. label May 22, 2020
Co-authored-by: Lilian Lee <lilin@pingcap.com>

# 从 MySQL SQL 文件迁移数据

本文介绍如何使用 TiDB Lightning 从 MySQL SQL 文件迁移数据到 TiDB。
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

迁移文档需要完整的导出+导入部分,这篇里只有 lightning 导入部分,‘MySQL SQL 文件’指的是 mydumper 导出的文件吧?(dumpling 能代替后再替换)

建议补充一下 mydumper 导出的部分

Copy link
Contributor Author

@3pointer 3pointer May 26, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这篇文章和 csv 迁移同一级别,都是描述导入部分,导出部分单独在 mydumper 和 dumpling 里面解释,我在最前面加个链接,这样可以吧

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

链过去 mydumper 可以,但 mydumper 链接里却只写了“使用此工具可以完成对 TiDB 的逻辑备份“

这篇文档的父目录是”从 MySQL 迁移至 TiDB“,用户进入这个文档是希望一步步从 mysql 迁移到 tidb,目前看有些串不起来。

可以考虑把 mydumper 的文件描述下支持 mysql 导出 ?

migrate-from-mysql-mydumper-files.md Outdated Show resolved Hide resolved
migrate-from-mysql-mydumper-files.md Show resolved Hide resolved
@sre-bot
Copy link
Contributor

sre-bot commented May 24, 2020

@3pointer, please update your pull request.

@sre-bot
Copy link
Contributor

sre-bot commented May 25, 2020

@lilin90, @kissmydb, PTAL.

3pointer and others added 6 commits May 26, 2020 10:26
@3pointer
Copy link
Contributor Author

lint failed because of dead link.
#3151 should merge first.

migrate-from-mysql-mydumper-files.md Outdated Show resolved Hide resolved
migrate-from-mysql-mydumper-files.md Outdated Show resolved Hide resolved
@lilin90
Copy link
Member

lilin90 commented May 26, 2020

@kissmydb PTAL again~

Copy link
Member

@lilin90 lilin90 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lilin90 lilin90 added the status/LGT1 Indicates that a PR has LGTM 1. label May 26, 2020
@yikeke yikeke added translation/doing This PR’s assignee is translating this PR. and removed translation/welcome Waits for a contributor to translate this PR and create a PR to the pingcap/docs-cn repository. labels Jun 10, 2020
@yikeke yikeke requested a review from ran-huang June 10, 2020 05:30
@yikeke
Copy link
Contributor

yikeke commented Jun 10, 2020

/run-cherry-picker

sre-bot pushed a commit to sre-bot/docs-cn that referenced this pull request Jun 10, 2020
Signed-off-by: sre-bot <sre-bot@pingcap.com>
@sre-bot
Copy link
Contributor

sre-bot commented Jun 10, 2020

cherry pick to release-3.1 in PR #3582

sre-bot pushed a commit to sre-bot/docs-cn that referenced this pull request Jun 10, 2020
Signed-off-by: sre-bot <sre-bot@pingcap.com>
@sre-bot
Copy link
Contributor

sre-bot commented Jun 10, 2020

cherry pick to release-2.1 in PR #3583

sre-bot pushed a commit to sre-bot/docs-cn that referenced this pull request Jun 10, 2020
Signed-off-by: sre-bot <sre-bot@pingcap.com>
@sre-bot
Copy link
Contributor

sre-bot commented Jun 10, 2020

cherry pick to release-3.0 in PR #3584

@ran-huang ran-huang self-assigned this Jun 10, 2020
@ran-huang ran-huang added translation/done This PR has been translated from English into Chinese and updated to pingcap/docs-cn in a PR. and removed status/LGT1 Indicates that a PR has LGTM 1. status/PTAL This PR is ready for reviewing. status/require-change Needs the author to address comments. translation/doing This PR’s assignee is translating this PR. labels Jun 10, 2020
sre-bot added a commit that referenced this pull request Jun 11, 2020
Signed-off-by: sre-bot <sre-bot@pingcap.com>

Co-authored-by: 3pointer <luancheng@pingcap.com>
sre-bot added a commit that referenced this pull request Jun 11, 2020
* cherry pick #3252 to release-3.0

Signed-off-by: sre-bot <sre-bot@pingcap.com>

* Update mydumper-overview.md

Co-authored-by: 3pointer <luancheng@pingcap.com>
Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com>
sre-bot added a commit that referenced this pull request Jun 11, 2020
* cherry pick #3252 to release-2.1

Signed-off-by: sre-bot <sre-bot@pingcap.com>

* Update mydumper-overview.md

* Update migrate-from-mysql-mydumper-files.md

Co-authored-by: 3pointer <luancheng@pingcap.com>
Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
special-week PR from Document Special Week. status/can-merge Indicates a PR has been approved by a committer. translation/done This PR has been translated from English into Chinese and updated to pingcap/docs-cn in a PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants