3.1.2.2.1 Upgrading MySQL 8.0 BugFix to MySQL 8.4 LTS
MySQL 8.4 LTS introduces some new features and removes some deprecated features as
compared to MySQL 8.0 BugFix. Here are some important changes you should be aware of
before upgrading your DB system from MySQL 8.0 BugFix to MySQL 8.4 LTS:
- As the
default_authentication_pluginvariable is removed in MySQL 8.4, the DB system ignores thedefault_authentication_pluginvariable in the MySQL Configuration. It always defaults tocaching_sha2_password. You can override the default authentication method of your user accounts with theCREATE USERandALTER USERstatements if needed. - The deprecated
mysql_native_passwordauthentication plugin is disabled by default. Your user accounts cannot use themysql_native_passwordauthentication method.Note:
For backward compatibility, if themysql_native_passwordauthentication method is used by any existing users, the upgrade will enable the deprecatedmysql_native_passwordauthentication plugin. As themysql_native_passwordauthentication has been removed in the major versions after MySQL 8.4, you should start to migrate these user accounts to use thecaching_sha2_passwordauthentication method. - These new reserved words are added in MySQL 8.4:
MANUAL,PARALLEL,QUALIFY, andTABLESAMPLE. You cannot use any reserved words in unquoted identifiers. - The
AUTO_INCREMENToption is no longer allowed inFLOATandDOUBLEdata types. Upgrade fails if you have a table that contains aFLOATorDOUBLEcolumn withAUTO_INCREMENT. - The
SET_ANY_DEFINERprivilege introduced in MySQL 8.2.0 is granted to the administrator account andadministratorrole of any DB system running MySQL version 8.2.0 or higher.
Note:
You cannot upgrade MySQL 8.0 to MySQL 9.x directly; you must first upgrade MySQL 8.0 to MySQL 8.4, then upgrade MySQL 8.4 to MySQL 9.x.Related Topics
Parent topic: Server Upgrades