Documentation Home
MySQL and Windows
Download this Excerpt
PDF (US Ltr) - 2.4Mb
PDF (A4) - 2.4Mb
EPUB - 2.2Mb
HTML Download (TGZ) - 2.2Mb
HTML Download (Zip) - 2.2Mb


1.4.1.6 MySQL Installation Wizard: Upgrading MySQL

The MySQL Installation Wizard can perform server upgrades automatically using the upgrade capabilities of MSI. That means you do not need to remove a previous installation manually before installing a new release. The installer automatically shuts down and removes the previous MySQL service before installing the new version.

Automatic upgrades are available only when upgrading between installations that have the same major and minor version numbers. For example, you can upgrade automatically from MySQL 5.1.5 to MySQL 5.1.6, but not from MySQL 5.0 to MySQL 5.1.

In MySQL 5.1.32 and later, the EXE version of the MSI installer packages were removed. When upgrading an existing MySQL installation from the old EXE based installer to the MSI based installer, please keep the following notes in mind:

  • The MSI installer will not identify an existing installation that was installed using the old EXE installer. This means that the installer will not stop the existing server, or detect that the existing password is required before installing the new version. To work around this:

    1. Stop the current server manually using net stop or mysqladmin shutdown.

    2. Remove the existing installation manually by using the Add/Remove Programs control panel. This will keep the existing configuration and data files, as these are not removed automatically.

    3. Install the new version of MySQL using the MSI installer. When running the installation, skip updating the security by deselecting the check box on the security screen.

    4. Complete the installation, and then start the server again. You should be able to login with your existing user and password credentials.

  • You can only upgrade the version and release using the MSI installer. For example, you can upgrade an open source installation with an open source installer. You cannot upgrade an open source installation using the enterprise installer.

See Section 1.9, “Upgrading MySQL Server on Microsoft Windows”.