Rechercher dans le manuel MySQL
2.11.1.1 Before You Begin
Review the information in this section before upgrading. Perform any recommended actions.
Protect your data by creating a backup. The backup should include the
mysql
system database, which contains the MySQL data dictionary tables and system tables. See Section 7.2, “Database Backup Methods”.ImportantDowngrade from MySQL 8.0 to MySQL 5.7 (or from a MySQL 8.0 release to a previous MySQL 8.0 release) is not supported. The only supported alternative is to restore a backup taken before upgrading. It is therefore imperative that you backup your data before upgrading.
Review Section 2.11.1.2, “Upgrade Paths” to ensure that your intended upgrade path is supported.
Review Section 2.11.1.3, “Changes in MySQL 8.0” for changes that you should be aware of before upgrading. Some changes may require action.
Review Section 1.4, “What Is New in MySQL 8.0” for deprecated and removed features. An upgrade may require changes with respect to those features if you use any of them.
Review Section 1.5, “Server and Status Variables and Options Added, Deprecated, or Removed in MySQL 8.0”. If you use deprecated or removed variables, an upgrade may require configuration changes.
Review the Release Notes for information about fixes, changes, and new features.
If you use replication, review Section 17.4.3, “Upgrading a Replication Setup”.
Upgrade procedures vary by platform and how the initial installation was performed. Use the procedure that applies to your current MySQL installation:
For binary and package-based installations on non-Windows platforms, refer to Section 2.11.1.5, “Upgrading MySQL Binary or Package-based Installations on Unix/Linux”.
NoteFor supported Linux distributions, the preferred method for upgrading package-based installations is to use the MySQL software repositories (MySQL Yum Repository, MySQL APT Repository, and MySQL SLES Repository).
For installations on an Enterprise Linux platform or Fedora using the MySQL Yum Repository, refer to Section 2.11.1.6, “Upgrading MySQL with the MySQL Yum Repository”.
For installations on Ubuntu using the MySQL APT repository, refer to Section 2.11.1.7, “Upgrading MySQL with the MySQL APT Repository”.
For installations on SLES using the MySQL SLES repository, refer to Section 2.11.1.8, “Upgrading MySQL with the MySQL SLES Repository”.
For installations performed using Docker, refer to Section 2.11.1.9, “Upgrading a Docker Installation of MySQL”.
For installations on Windows, refer to Section 2.3.8, “Upgrading MySQL on Windows”.
If your MySQL installation contains a large amount of data that might take a long time to convert after an in-place upgrade, it may be useful to create a test instance for assessing the conversions that are required and the work involved to perform them. To create a test instance, make a copy of your MySQL instance that contains the
mysql
database and other databases without the data. Run the upgrade procedure on the test instance to assess the work involved to perform the actual data conversion.Rebuilding and reinstalling MySQL language interfaces is recommended when you install or upgrade to a new release of MySQL. This applies to MySQL interfaces such as PHP
mysql
extensions, the PerlDBD::mysql
module, and the PythonMySQLdb
module.
Traduction non disponible
Le manuel MySQL n'est pas encore traduit en français sur l'infobrol. Seule la version anglaise est disponible pour l'instant.
Document créé le 26/06/2006, dernière modification le 26/10/2018
Source du document imprimé : https://www.gaudry.be/mysql-rf-upgrade-before-you-begin.html
L'infobrol est un site personnel dont le contenu n'engage que moi. Le texte est mis à disposition sous licence CreativeCommons(BY-NC-SA). Plus d'info sur les conditions d'utilisation et sur l'auteur.
Références
Ces références et liens indiquent des documents consultés lors de la rédaction de cette page, ou qui peuvent apporter un complément d'information, mais les auteurs de ces sources ne peuvent être tenus responsables du contenu de cette page.
L'auteur de ce site est seul responsable de la manière dont sont présentés ici les différents concepts, et des libertés qui sont prises avec les ouvrages de référence. N'oubliez pas que vous devez croiser les informations de sources multiples afin de diminuer les risques d'erreurs.