mysql_library_init
mysql_library_init initializes the MariaDB Connector/C library before any other functions are called, starting the embedded server if used in that configuration.
Last updated
Was this helpful?
mysql_library_init initializes the MariaDB Connector/C library before any other functions are called, starting the embedded server if used in that configuration.
int mysql_library_init(int argc, char **argv, char **groups)Call to initialize the library before calling other functions, both for embedded servers and regular clients. If used on an embedded server, the server is started and subsystems initialized. Returns zero for success, or nonzero if an error occurred.
Call mysql_library_end() to clean up after completion.
mysql_server_init() is an alias.
Last updated
Was this helpful?
Was this helpful?

