fix database::mysql for cdh4