Some features are deprecated and have been removed from MySQL 8.0. They need to be used when showing alternatives to these deleted items to avoid further complications.
- The "innodb_locks_unsafe_for_binlog" system variable has been deleted.
- You can use the "READ COMMITTED" isolation level because it behaves similarly.
- After upgrading the system to MySQL version 8.0.3 or later, scripts referencing previous InnoDB INFORMATION_SCHEMA View names must be upgraded.
Some account management properties have been removed. Some are listed below:
- Do not use "GRANT" to create a user, instead use "CREATE USER".
- The query cache has been deleted.
>- Deprecated query cache entries remain deprecated and have no effect. They may be removed in an upcoming MySQL version.
- The data dictionary provides information about database objects, so the server does not check the directory names in the data directory to find the database.
- This indicates that the "--ignore-db-dir" option and the "ignore_db_dirs" system variable are not required and have been removed.
- The "tx_isolation" and "tx_read_only" system variables have been removed. Instead, use "transaction_isolation" and "transaction_read_only".
- The 'secure_auth' and 'multi_range_count' system variables, the '--secure-auth' client option, and the 'MYSQL_SECURE_AUTH' option mysql_options()' C API function have been removed.
- The 'log_warnings' system variable and the --log-warnings server option have been removed. Instead, use the "log_error_verbosity" system variable.
- The parser does not treat \N as a synonym for NULL in SQL statements. Therefore, the "NULL" value must be used.
- PROCEDURE ANALYSE() syntax has been removed.
- --temp-pool server option has been removed.
- li>
- The "ignore_builtin_innodb" system variable has been deleted.
- The "resolveip" utility has been removed. Instead, use "nslookup", "host" or "dig".
- Support for DTrace has been removed.
- The "JSON_APPEND()" function has been removed. Instead, use "JSON_ARRAY_APPEND()".
The above is the detailed content of What features have been removed in MySQL 8.0?. For more information, please follow other related articles on the PHP Chinese website!