Documentation Home
MySQL 5.5 Reference Manual
Related Documentation Download this Manual Excerpts from this Manual

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

const char *mysql_get_ssl_cipher(MYSQL *mysql)


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 no cipher is being used.

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