Patches to make mysql users work.