A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mariadb.com/docs/connectors/mariadb-connector-c/api-functions/mariadb_reconnect below:

mariadb_reconnect | MariaDB Documentation

mariadb_reconnect | MariaDB Documentation
  1. Connector/C
  2. MariaDB Connector/C API Functions
mariadb_reconnect
my_bool  mariadb_reconnect(MYSQL * mysql)

mariadb_reconnect() tries to reconnect to a server in case the connection died due to timeout or other errors. It uses the same credentials which were specified in mysql_real_connect().

The function will return 0 on sucess.

The function will return an error, if the option MYSQL_OPT_RECONNECT wasn't specified before.

This function was added in Connector/C 3.0.

Last updated 2 months ago


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4