20.6.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.

As of MySQL 5.0.3, mysql_server_init() is deprecated and you should call mysql_library_init() instead. See Section 20.6.7.40, “mysql_library_init()”.

Return Values

Zero for success. Nonzero if an error occurred.