How To Use SSL With sysbench To Test MySQL Server

Published Date Author: , Posted September 7th, 2023 at 11:02:30am

SUMMARY

If sysbench is started with the “–mysql-ssl=on” option, it looks in the current directory for the following files:

PROCEDURE

Locate the current MySQL database certificates, usually in /var/lib/mysql, and make sure that the OS user running sysbench is able to read the following 3 files:

Next, cd to the OS user’s home directory and create symbolic links as follows:

Finally, create a simple wrapper to ensure proper location and adding --mysql-ssl=on to sysbench command, for example:

No comments as yet.

Leave Your Comment  Leave a comment

All fields marked with "*" are required.