[why] Now the server ip is defined by scheduler is $server not $direct_server_ips
[how] Change the $direct_server_ips to $server
Signed-off-by: Zhang Yu 2134782174@qq.com --- tests/sysbench-mysql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/sysbench-mysql b/tests/sysbench-mysql index 106ee0b9..1d424aaa 100755 --- a/tests/sysbench-mysql +++ b/tests/sysbench-mysql @@ -19,7 +19,7 @@ # db_driver
: "${mysql_user:=root}" -: "${mysql_host:=$direct_server_ips}" +: "${mysql_host:=$server}" : "${mysql_port:=$mysql_port}" : "${mysql_db:=sysbench_1}" : "${mysql_password:=$mysql_password}"