A mysql c client wrapper, support auto connect and asynchronous write