Closed robins closed 2 years ago
Hi @robins,
The ssl_cipher value emitted in DEBUG message is nothing but the value provided at foreign server for MySQL connection. If we don't have ssl_cipher value provided then it will just print
We will check if we can do something here to print the correct ssl_cipher value after establishing MySQL connection even though we do not provide ssl_cipher at server level. Once MySQL connection is established using mysql_real_connect(), we can check if the connection structure(conn) has loaded with correct ssl_cipher and then use mysql_get_ssl_cipher() to get the same.
Okay.. That makes sense... and then its currently working as intended. Obviously it'd be great to have the feature addition (down the line).
Thanks for the clarification.
Are there any scenarios where
DEBUG1
says cipher is<none>
whereas MySQL'sperformance_schema.session_status
shows a non-empty SSL Cipher?