FreeBSD Manual Pages
mysql_close(3) MariaDB Connector/C mysql_close(3)
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(3).
See also
• mysql_init(3)
• mysql_real_connect(3)
Version 3.4 mysql_close(3)
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=mysql_close&sektion=3&manpath=FreeBSD+Ports+15.0>
