This is an automated email from the ASF dual-hosted git repository.

morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git


The following commit(s) were added to refs/heads/master by this push:
     new d916ba8352 [fix](tools) Access denied when creating tpch tables (#9003)
d916ba8352 is described below

commit d916ba8352ec3354ca3efe0d9fa64d0fa17ac56d
Author: ZenoYang <[email protected]>
AuthorDate: Thu Apr 14 11:45:53 2022 +0800

    [fix](tools) Access denied when creating tpch tables (#9003)
---
 tools/tpch-tools/create-tpch-tables.sh | 1 +
 tools/tpch-tools/run-tpch-queries.sh   | 1 +
 2 files changed, 2 insertions(+)

diff --git a/tools/tpch-tools/create-tpch-tables.sh 
b/tools/tpch-tools/create-tpch-tables.sh
index 2263f47e1b..3c3f2dccbb 100755
--- a/tools/tpch-tools/create-tpch-tables.sh
+++ b/tools/tpch-tools/create-tpch-tables.sh
@@ -85,6 +85,7 @@ check_prerequest() {
 check_prerequest "mysql --version" "mysql"
 
 source $CURDIR/doris-cluster.conf
+export MYSQL_PWD=$PASSWORD
 
 echo "FE_HOST: $FE_HOST"
 echo "FE_QUERY_PORT: $FE_QUERY_PORT"
diff --git a/tools/tpch-tools/run-tpch-queries.sh 
b/tools/tpch-tools/run-tpch-queries.sh
index 5a0d06d512..d5a5bb7282 100755
--- a/tools/tpch-tools/run-tpch-queries.sh
+++ b/tools/tpch-tools/run-tpch-queries.sh
@@ -86,6 +86,7 @@ check_prerequest() {
 check_prerequest "mysql --version" "mysql"
 
 source $CURDIR/doris-cluster.conf
+export MYSQL_PWD=$PASSWORD
 
 echo "FE_HOST: $FE_HOST"
 echo "FE_QUERY_PORT: $FE_QUERY_PORT"


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to