[debian-mysql] FWD [Re: Bug#860970: release-notes: MariaDB vs MySQL section 2.2.3 needs clarifying on how to perform the upgrade]
    Otto Kekäläinen 
    otto at debian.org
       
    Fri Apr 28 19:35:59 UTC 2017
    
    
  
Hello!
2017-04-28 17:47 GMT+03:00 Vincent McIntyre <vincent.mcintyre at csiro.au>:
> So something like (fully untested):
>   MariaDB is now the default MySQL variant in Debian, at version 10.1.
>   The Stretch release introduces a new mechanism for switching the
>   default variant, using metapackages created from the
>   mysql-defaults source package.
>   For example, installing the metapackage
>   default-mysql-server will install
>   mariadb-server-10.1.
> - Users who had
> + For upgrades from jessie, it is recommended to install
> + this metapackage after 'apt upgrade', but before 'apt dist-upgrade'
> + so that users who have
>   mysql-server-5.5 or mysql-server-5.6 will have it
>   removed and replaced by the MariaDB equivalent.
> + If no precaution is taken, mysql-server-5.x will be removed *without*
> + a replacement being installed.
>   Similarly, installing default-mysql-client will install
>   mariadb-client-10.1.
Please don't update the release notes like this. The upgrade has been
designed to work correctly by simply running 'apt-get update' and
'apt-get dist-upgrade' until these and all other packages on the
system have been updated. This has been tested countless times.
Unfortunately Paul had a different experience on his NAS box when
upgrading it, but that case is not the usual case and should not be
the motivation to make new general recommendations.
- Otto
    
    
More information about the pkg-mysql-maint
mailing list