MySQL Fix

See issue 163