diff --git a/xCAT-server/sbin/runsqlcmd b/xCAT-server/sbin/runsqlcmd index c6d4f7061..b0a30a1dc 100755 --- a/xCAT-server/sbin/runsqlcmd +++ b/xCAT-server/sbin/runsqlcmd @@ -298,6 +298,8 @@ sub runmysqlcmd if ($? > 0) # error { $rc = $? >> 8; + # secure password + $cmd = "$mysql --user=$admin --password=xxxxxx --host=$hostname $dbname \< $file "; xCAT::MsgUtils->message("SE", "The command $cmd had errors. Return=$rc"); }