| mysql_error(3) | MariaDB Connector/C | mysql_error(3) |
mysql_error - returns the last error message for the most recent function call
#include <mysql.h>
const char * mysql_error(MYSQL * mysql);
Returns the last error message for the most recent function call that can succeed or fail. An empty string means no error occurred.
| Version 3.4 |