MySQL error upgrading to 4.2

Are you updating from the web? Starting with v5.0, you will only be able to update from CLI but get notification from web.

Try out this and see if it helps