connect mysql db with C