This documentation is for an older version. If you're using the most current version, select the documentation for that version with the version switch in the upper right corner of the online documentation, or by downloading a newer PDF or EPUB file. mysql_server_init()

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


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, “mysql_library_init()”.

Return Values

Zero for success. Nonzero if an error occurred.