Functions
mysql.h File Reference

MySQL / MariaDB Connector. More...

Functions

VTM_API int vtm_module_mysql_init (struct vtm_sql_module *mod)
 

Function Documentation

VTM_API int vtm_module_mysql_init ( struct vtm_sql_module mod)

Initializes the MySQL connector.

After the call succeed, you can use the module to open MySQL or MariaDB database connections.

Parameters
modthe module variable that should be initialized
Returns
VTM_OK if the initialization was successful
VTM_ERROR if module could not be initialized