mysql: Fix updating the package.

The mysql server daemon will now be stopped before the update
is executed and all configuration and data files will be
backed up.