sysbench /usr/share/sysbench/oltp_read_write.lua --mysql-host=<IP_Address> --mysql-port=3306 --mysql-user=mysql-admin --mysql-password=xxxx --mysql-db=mysqldbname --table_size=100000 --tables=20 --threads=10 prepare
sysbench /usr/share/sysbench/oltp_read_write.lua --mysql-host=<IP_Address> --mysql-port=3306 --mysql-user=mysql-admin --mysql-password=xxxx --mysql-db=mysql2db2 --table_size=100000 --tables=20--threads=10 --time=180 --report-interval=10 run
sysbench /usr/share/sysbench/oltp_read_write.lua --mysql-host=<IP_Address> --mysql-port=3306 --mysql-user=mysql-admin --mysql-password=xxxx --mysql-db=mysql2db2 --table_size=100000 --tables=20 --threads=10 cleanup
FATAL: unable to connect to MySQL server on host '<IP_Address>', port 3306, aborting...FATAL: error 2003: Can't connect to MySQL server on '<IP_Address>:3306' (111)
In the MySQL DB instance log file, you may notice the following:
<mysqldbname>/dataservices/development/MySQLCluster/sudo-kubectl---kubeconfig--etc-kubernetes-admin-conf-get-sts-pod-svc-pv-pvc-serviceaccount--A--oyaml---show-managed-fields.txt :
Grep for "OOM":
Example:
grep -B8 OOM ./<mysqldbname>/dataservices/development/MySQLCluster/sudo-kubectl---kubeconfig--etc-kubernetes-admin-conf-get-sts-pod-svc-pv-pvc-serviceaccount--A--oyaml---show-managed-fields.txt - containerID: containerd://###################################################### image: /dsm/mysql-instance:9.0.2-0-20251128T1405Z-4beef2e-mysql-8.4.6 imageID: /dsm/mysql-instance@sha256:############################################################ lastState: terminated: <------- containerID: containerd://###################################################### exitCode: 137 finishedAt: "2026-02-17T07:36:24Z" reason: OOMKilled <-------
OOMKilled event.Note: The attached YAML is provided as an example only. Review and adjust the memory, cache, and flow-control values based on the database size, Sysbench workload profile, and container memory limits in your environment.