mysql_close − Closes a previously opened connection
#include <mysql.h> void mysql_close(MYSQL *mysql);
Closes a previously opened connection and deallocates all memory.
• |
To reuse a connection handle after mysql_close() the handle must be initialized again by mysql_init(3). |
• |
mysql_init(3) |
|||
• |
mysql_real_connect(3) |