21.8.13.1 mysql_server_init()

int mysql_server_init(int argc, char **argv, char **groups)

Description

This function initializes the MySQL library, which must be done before you call any other MySQL function. However, mysql_server_init() is deprecated and you should call mysql_library_init() instead. See Section 21.8.7.40, “mysql_library_init().

Return Values

Zero for success. Nonzero if an error occurred.