mysql_close
Georg Richter edited this page Sep 15, 2018
·
3 revisions
Name
mysql_close - Closes a previously opened connection
Synopsis
#include <mysql.h>
void mysql_close(MYSQL *mysql);Description
Closes a previously opened connection and deallocates all memory.
Notes
- To reuse a connection handle after
mysql_close()the handle must be initialized again by mysql_init().
See also
MariaDB Connector/C Reference