April 2008
Intermediate to advanced
566 pages
21h 55m
English
mysql_close()
void mysql_close(MYSQL *mysql)
Use this function to close the connection to the MySQL
server. It also deallocates the connection handle pointed to by
MYSQL if the handle was allocated automatically by
mysql_init() or
mysql_connect(). It does not return a value.
Here is an example:
... mysql_connect(mysql,"localhost","ricky","adams"); ... mysql_close(mysql); ...
Read now
Unlock full access