Fix Problems with mysql