Decrypt SSL MySQL traffic

Hello,

I have a case where I need to debug tcpdump of MySQL traffic for an issue. The problem only happens when SSL is enabled and general log is not enough.

Is there any way to get per-master keys for a MySQL session like it is possible with cURL via SSLKEYLOGFILE since I’m using TLS 1.3 for PFS.

My google-foo is failing me as there doesn’t seem to be working example to be found, the only thing I found was a feature request for mysql to add that feature.