mysql\_server\_end(3) MariaDB Connector/C mysql\_server\_end(3)

## [Name](#Name)

mysql\_server\_end - Called when finished using MariaDB Connector/C

## [Synopsis](#Synopsis)

```
#include <mysql.h>
void mysql_server_end(void)
    
```

## [Description](#Description)

Call when finished using the library, such as after disconnecting from the server. For a client program, only cleans up by performing memory management tasks.

## [Notes](#Notes)

•

mysql\_library\_end() is an alias for mysql\_server\_end().

•

In MySQL Connector/C versions 3.0.1 to 3.0.4 it was not possible to call multiple times [**mysql\_server\_init(3)**](/man/os/mariadb-12.3/mysql_server_init.3) and mysql\_server\_end().

## [See also](#See_also)

•

[**mysql\_server\_init(3)**](/man/os/mariadb-12.3/mysql_server_init.3)

Version 3.4

---

Document: mysql_server_end(3) from mariadb-12.3 12.3.3-r2 (Chainguard OS)
Source: https://github.com/MariaDB/server.git
