MySQL 5.1 Reference Manual  /  ...  /  mysql_get_ssl_cipher()

21.8.7.33 mysql_get_ssl_cipher()

const char *mysql_get_ssl_cipher(MYSQL *mysql)

Description

mysql_get_ssl_cipher() returns the SSL cipher used for the given connection to the server. mysql is the connection handler returned from mysql_init().

This function was added in MySQL 5.1.11.

Return Values

A string naming the SSL cipher used for the connection, or NULL if no cipher is being used.


User Comments
Sign Up Login You must be logged in to post a comment.