Documentation Home
MySQL 8.0 C API Developer Guide
Download this Manual
PDF (US Ltr) - 1.3Mb
PDF (A4) - 1.3Mb


5.4.72 mysql_server_end()

voidmysql_server_end(void)

Description

This function finalizes the MySQL client library, which should be done when you are done using the library. However,mysql_server_end() is deprecated andmysql_library_end() should be used instead. SeeSection 5.4.44, “mysql_library_end()”.

Note

To avoid memory leaks after the application is done using the library (for example, after closing the connection to the server), be sure to callmysql_server_end() (ormysql_library_end()) explicitly. This enables memory managment to be performed to clean up and free resources used by the library.

Return Values

None.