Skip to content

Commit 6577885

Browse files
committed
Add port.
1 parent e124ab6 commit 6577885

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

edu.cuny.hunter.streamrefactoring.eval/scripts/myimport.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ DATABASE=$1
33
TABLE=$2
44
. myimport.cfg
55
dos2unix $TABLE.csv
6-
mysql --local-infile -D $DATABASE -u $USER -p$PASSWORD -h $HOST --execute="\
6+
mysql --local-infile -D $DATABASE -u $USER -p$PASSWORD -h $HOST -P $PORT --execute="\
77
TRUNCATE $TABLE; \
88
LOAD DATA LOCAL INFILE '$TABLE.csv' \
99
INTO TABLE $TABLE \
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/bash
22
HOST=
3+
PORT=
34
USER=
45
PASSWORD=

0 commit comments

Comments
 (0)