GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
mariadb_reconnect(3) MariaDB Connector/C mariadb_reconnect(3)

mariadb_reconnect - reconnects to a server


#include <mysql.h>
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(3).

The function will return 0 on sucess, a non zero value on error

Note: The function will return an error, if the option MYSQL_OPT_RECONNECT wasn’t set before.

mariadb_reconnect() was added in MariaDB Connector/C 3.0

mysql_real_connect(3)
mysql_optionsv(3)
Version 3.2.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.