A lightweight C API for MySQL servers