MySQL/MariaDB C API examples