You are here : Cmysql/mysql.hmysql_close

mysql_close() - mysql/mysql.h

 Closes a previously opened connection.
        mysql_close() also deallocates
        the connection handle pointed to by mysql if
        the handle was allocated automatically by
        mysql_init() or
        mysql_connect().mysql_close()mysql_close()mysqlmysql_init()mysql_init()mysql_connect()mysql_connect()


Syntax

void mysql_close(MYSQL *mysql)


Example

 


Output / Return Value

 None.


Limitations


Alternatives / See Also


Reference