user c api connect mysql