File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,5 +12,4 @@ DB_NAME="$1"
1212TABLE_NAME=" $2 "
1313
1414echo " Dropping table: $DB_NAME .$TABLE_NAME "
15-
1615mysql -P " $DB_MYSQL_PORT " -h " $DB_HOST " -u " $DB_USER " " $DB_NAME " -e " DROP TABLE IF EXISTS $TABLE_NAME "
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -18,6 +18,11 @@ ERROR_LOG="${4:-error.log}"
1818# Define prefix for output files
1919OUTPUT_PREFIX=" ${5:- _m6i.8xlarge} "
2020
21+ export DB_HOST=" 127.0.0.1"
22+ export DB_USER=" root"
23+ export DB_MYSQL_PORT=" 9030"
24+ export DB_HTTP_PORT=" 8030" # HTTP endpoint for stream load
25+
2126# Check if the directory exists
2227if [[ ! -d " $DATA_DIRECTORY " ]]; then
2328 echo " Error: Data directory '$DATA_DIRECTORY ' does not exist."
@@ -34,7 +39,6 @@ if [ "$CHOICE" = "ask" ]; then
3439 read -p " Enter the number corresponding to your choice: " CHOICE
3540fi ;
3641
37- ./env.sh
3842./install.sh
3943
4044benchmark () {
You can’t perform that action at this time.
0 commit comments