Skip to content

Commit

Permalink
Update using-source.md
Browse files Browse the repository at this point in the history
  • Loading branch information
xuanyiLee authored Nov 9, 2023
1 parent 8472314 commit 5f1d934
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/MatrixOne/Develop/import-data/bulk-load/using-source.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,14 @@ mysqldump -h 127.0.0.1 -uroot -proot -d test > a.sql
2. 通过 `source` 命令将 *sql* 文件导入 MatrixOne。

```
mysql> use test;
mysql> source /YOUR_PATH/a.sql
```

如果 *sql* 文件较大,可以使用如下命令在后台运行导入任务:

```
nohup mysql -h 127.0.0.1 -P 6001 -uroot -p111 -e 'source /YOUR_PATH/a.sql' &
nohup mysql -h 127.0.0.1 -P 6001 -uroot -p111 -e -D test 'source /YOUR_PATH/a.sql' &
```

!!! note
Expand Down

0 comments on commit 5f1d934

Please sign in to comment.