sysbench 链接OB 当 --threads不为1 ,就会报错?

mysql> select version();
±-----------------------------+
| version() |
±-----------------------------+
| 5.7.25-OceanBase_CE-v4.3.1.0 |
±-----------------------------+
1 row in set (0.00 sec)

sysbench --version

sysbench 1.1.0

###–threads=1 可以正常执行
sysbench --config-file=config ./lua/oltp_point_select.lua --tables=1 --threads=1 run
###–threads=2 报错

[root@n110 obsysbench]# sysbench --config-file=config ./lua/oltp_point_select.lua --tables=1 --threads=2 run
sysbench 1.1.0 (using bundled LuaJIT 2.1.0-beta3)

Running the test with following options:
Number of threads: 2
Report intermediate results every 2 second(s)
Initializing random number generator from current time

Initializing worker threads…

FATAL: unable to connect to MySQL server on host ‘n113’, port 2881, aborting…
FATAL: error 1045: Access denied for user ‘bench’@‘xxx.xxx.xxx.xxx’ (using password: NO)
FATAL: `thread_init’ function failed: /usr/local/share/sysbench/oltp_common.lua:356: connection creation failed

在本地没有复现,提供一下:

1、完整的测试命令文本,ip/port/user/password可以脱敏,其他的命令需要完整提供一下,另外说明IP是直连observer还是obproxy的地址。

2、在sys租户执行:
alter system set enable_rich_error_msg=‘true’;

3、复现后根据提示在对应的机器上根据traceid进行过滤,发一下对应的日志看看。