Skip to content

Commit 71e4471

Browse files
CaitinChenlilin90
authored andcommitted
tispark: update an example (pingcap#1020)
* tispark: update an example * Update an example in tispark-quick-start-guide_v1.x.md * Update v1.0, v2.0 and v2.1
1 parent a40b50f commit 71e4471

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

tispark/tispark-quick-start-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ cd tidb-ansible/resources/bin/tispark-sample-data
5858
Edit the TiDB login information in `sample_data.sh`. For example:
5959

6060
```
61-
mysql -h 192.168.0.2 -P 4000 -u root < dss.ddl
61+
mysql --local-infile=1 -h 192.168.0.2 -P 4000 -u root < dss.ddl
6262
```
6363

6464
Run the script:

tispark/tispark-quick-start-guide_v1.x.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ cd tidb-ansible/resources/bin/tispark-sample-data
5858
Edit the TiDB login information in `sample_data.sh`. For example:
5959

6060
```
61-
mysql -h 192.168.0.2 -P 4000 -u root < dss.ddl
61+
mysql --local-infile=1 -h 192.168.0.2 -P 4000 -u root < dss.ddl
6262
```
6363

6464
Run the script:

v1.0/tispark/tispark-quick-start-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ cd tidb-ansible/resources/bin/tispark-sample-data
5757
Edit the TiDB login information in `sample_data.sh`. For example:
5858

5959
```
60-
mysql -h 192.168.0.2 -P 4000 -u root < dss.ddl
60+
mysql --local-infile=1 -h 192.168.0.2 -P 4000 -u root < dss.ddl
6161
```
6262

6363
Run the script:

v2.0/tispark/tispark-quick-start-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ cd tidb-ansible/resources/bin/tispark-sample-data
5858
Edit the TiDB login information in `sample_data.sh`. For example:
5959

6060
```
61-
mysql -h 192.168.0.2 -P 4000 -u root < dss.ddl
61+
mysql --local-infile=1 -h 192.168.0.2 -P 4000 -u root < dss.ddl
6262
```
6363

6464
Run the script:

v2.1/tispark/tispark-quick-start-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ cd tidb-ansible/resources/bin/tispark-sample-data
5858
Edit the TiDB login information in `sample_data.sh`. For example:
5959

6060
```
61-
mysql -h 192.168.0.2 -P 4000 -u root < dss.ddl
61+
mysql --local-infile=1 -h 192.168.0.2 -P 4000 -u root < dss.ddl
6262
```
6363

6464
Run the script:

0 commit comments

Comments
 (0)