You are here : Cmysql/mysql.hmysql_get_ssl_cipher

mysql_get_ssl_cipher() - mysql/mysql.h

 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().mysql_get_ssl_cipher()mysql_get_ssl_cipher()mysqlmysql_init()mysql_init()


Syntax

const char *mysql_get_ssl_cipher(MYSQL
        *mysql)


Example

 


Output / Return Value

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


Limitations


Alternatives / See Also


Reference