MySQL :: MySQL 8.4 C API Developer Guide :: 5.4.6 mysql_close() (original) (raw)
5.4.6 mysql_close()
void
mysql_close(MYSQL *mysql)
Description
Closes a previously opened connection.mysql_close() also deallocates the connection handler pointed to by mysql
if the handler was allocated automatically bymysql_init() ormysql_connect(). Do not use the handler after it has been closed.
Return Values
None.
Errors
None.