mysql_close terminates an open database connection and releases the memory allocated for the MYSQL handle.
void mysql_close(MYSQL * mysql);
mysql - mysql handle, which was previously allocated by mysql_init() or mysql_real_connect().
mysql
Closes a previously opened connection.
Last updated 9 days ago
Was this helpful?