MySQL :: MySQL 8.4 C API Developer Guide :: 5.4.36 mysql_get_ssl_cipher() (original) (raw)
5.4.36 mysql_get_ssl_cipher()
const char *
mysql_get_ssl_cipher(MYSQL *mysql)
Description
mysql_get_ssl_cipher() returns the encryption cipher used for the given connection to the server. mysql
is the connection handler returned from mysql_init().
Return Values
A string naming the encryption cipher used for the connection, or NULL
if the connection is not encrypted.