a c++ lib for mysql flex