operate mysql used by c++