-
Notifications
You must be signed in to change notification settings - Fork 6.2k
MySQL 8.0 Compatibility #7968
Copy link
Copy link
Open
Labels
compatibility-mysql80This is a compatibility issue with MySQL 8.0(but NOT 5.7)This is a compatibility issue with MySQL 8.0(but NOT 5.7)feature/reviewingThis feature request is reviewing by product managersThis feature request is reviewing by product managerstype/enhancementThe issue or PR belongs to an enhancement.The issue or PR belongs to an enhancement.type/feature-requestCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.
Metadata
Metadata
Assignees
Labels
compatibility-mysql80This is a compatibility issue with MySQL 8.0(but NOT 5.7)This is a compatibility issue with MySQL 8.0(but NOT 5.7)feature/reviewingThis feature request is reviewing by product managersThis feature request is reviewing by product managerstype/enhancementThe issue or PR belongs to an enhancement.The issue or PR belongs to an enhancement.type/feature-requestCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.
This issue is to track what is required to move from MySQL 5.7 to MySQL 8.0 compatibility.
See the complete list.
Essential
Nice to Have
8.0.11 and before
NOWAITSET_VARoptimizer hint Support Variable-Setting HintSET_VAR#18748information_schema.keywordstable. Example here. Add information_schema.keywords #48801SHUTDOWNcommand Support SHUTDOWN SQL command (and protocol cmd) #5046MAX_EXECUTION_TIMEhint Feature Request: Support MAX_EXECUTION_TIME #7008bin-to-uuidanduuid-to-bin#20119caching_sha2_passwordAuthentication Plugin Support for caching_sha2_password #9411JSON_TABLEfunction + add remaining JSON functions that were backported to 5.7SKIP LOCKEDSupportSKIP LOCKEDSyntax #18207RESTARTcommand Support for 'RESTART' statement #26016SHOW VARIABLESoutput (remove query cache etc.)GROUP BYno longer implyingORDER BYTIME_TRUNCATE_FRACTIONALhttps://dev.mysql.com/doc/refman/8.0/en/sql-mode.html#sqlmode_time_truncate_fractional Support sql_mode TIME_TRUNCATE_FRACTIONAL #29406ALTER TABLE t REMOVE PARTITIONINGSupport ALTER TABLE t REMOVE PARTITIONING #42616ALTER TABLE t PARTITION BY ...Support ALTER TABLE t REMOVE PARTITIONING #42616DROP TABLEbehavior When DROP TABLE with multiple tables listed, and one of them does not exist, TiDB still drops all the remaining tables #642188.0.13
BLOB/TEXT+ default value as function (part 1:RAND()) Incompatible with MySQL 8.0 about create table with default expression #10377BLOB/TEXT+ default value as function (part 2:UUID()) support specifying expr uuid() as column default value #33870BLOB/TEXT+ default value as function (part 3) Default value for TEXT, BLOB or JSON columns #455068.0.14
8.0.15
CHECKconstraint #417118.0.17
utf8mb4_0900_bin#46268JSON_SCHEMA_VALID()#527798.0.18
8.0.19
TABLE t ORDER BY c LIMIT 10 OFFSET 3- 8.0.19 Support VALUES and TABLE statements syntax #19934VALUES ROW(1, "foo", 3.2)-8.0.19 VALUES statement is not supported #214868.0.20
8.0.21
CREATE USERandALTER USERstatements #38172CREATE TABLE ... START TRANSACTIONsupport mysql8.0 create table with start transaction feature #524778.0.22
8.0.23
8.0.28
8.0.30
AES_ENCRYPT()andAES_DECRYPT().8.0.31
INTERSECTSupportEXCEPT/INTERSECTOperators #18031EXCEPTSupportEXCEPT/INTERSECTOperators #180318.0.34
CURRENT_USER()as default value for VARCHAR and TEXT columns in CREATE TABLE statements Default value for TEXT, BLOB or JSON columns #455068.0.35
8.0.36
8.0.37
Cleanup
Not Applicable
SET PERSIST(settings automatically save cluster-wide)log_error_servicesetc)