You are here : Cmysql/mysql.hmysql_get_server_info

mysql_get_server_info() - mysql/mysql.h

 Returns a string that represents the MySQL server version; for
        example, "5.7.16"."5.7.16"


Syntax

const char *mysql_get_server_info(MYSQL
        *mysql)


Example

 


Output / Return Value

 A character string that represents the MySQL server version.


Limitations


Alternatives / See Also


Reference