1mysql_close(3) MariaDB Connector/C mysql_close(3)
2
3
4
5 Name
6 mysql_close - Closes a previously opened connection
7
8 Synopsis
9 #include <mysql.h>
10
11 void mysql_close(MYSQL *mysql);
12
13 Description
14 Closes a previously opened connection and deallocates all memory.
15
16 Notes
17 • To reuse a connection handle after mysql_close() the handle must be
18 initialized again by mysql_init(3).
19
20 See also
21 • mysql_init(3)
22
23 • mysql_real_connect(3)
24
25
26
27Version 3.2.2 mysql_close(3)