Mysql:Changes in MySQL 8.0.17 (2019-07-22, General Availability):是mysqld 内在转变的版本!!!
Changes in MySQL 8.0.17 (2019-07-22, General Availability)
- 
FLOAT(andM,D)DOUBLE(syntax to specify the number of digits for columns of typeM,D)FLOATandDOUBLE(and any synonyms) is a nonstandard MySQL extension. This syntax is deprecated and support for it will be removed in a future MySQL version. (Bug #25328973, Bug #84363)
- 
For string data types, the BINARYattribute is a nonstandard MySQL extension that is shorthand for specifying the binary (_bin) collation of the column character set (or of the table default character set if no column character set is specified). In MySQL 8.0, this nonstandard use ofBINARYis ambiguous because theutf8mb4character set has multiple_bincollations, so theBINARYattribute is deprecated and support for it will be removed in a future MySQL version. Applications should be adjusted to use an explicit_bincollation instead.The use of BINARYto specify a data type or character set remains unchanged.
- 
The nonstandard C-style &&,||, and!operators that are synonyms for the standard SQLAND,OR, andNOToperators, respectively, are deprecated and support for them will be removed in a future MySQL version. Applications that use the nonstandard operators should be adjusted to use the standard operators.NoteUse of ||is deprecated unless thePIPES_AS_CONCATSQL mode is enabled. In that case,||signifies the SQL-standard string concatenation operator).
- 
The ZEROFILLattribute is deprecated for numeric data types, as is the display width attribute for integer data types. Support forZEROFILLand display widths for integer data types will be removed in a future MySQL version. Consider using an alternative means of producing the effect of these attributes. For example, applications could use theLPAD()function to zero-pad numbers up to the desired width, or they could store the formatted numbers inCHARcolumns.
- 
The UNSIGNEDattribute is deprecated for columns of typeFLOAT,DOUBLE, andDECIMAL(and any synonyms) and support for it will be removed in a future MySQL version. Consider using a simpleCHECKconstraint instead for such columns.
- 
AUTO_INCREMENTsupport is deprecated for columns of typeFLOATandDOUBLE(and any synonyms) and will be removed in a future MySQL version. Consider removing theAUTO_INCREMENTattribute from such columns, or convert them to an integer type.
- 
The SQL_CALC_FOUND_ROWSquery modifier and accompanyingFOUND_ROWS()function are now deprecated and will be removed in a future MySQL version. As a replacement, considering executing your query withLIMIT, and then a second query withCOUNT(*)and withoutLIMITto determine whether there are additional rows. For example, instead of these queries:SELECT SQL_CALC_FOUND_ROWS * FROM tbl_nameWHERE id > 100 LIMIT 10; SELECT FOUND_ROWS();Use these queries instead: SELECT * FROM tbl_nameWHERE id > 100 LIMIT 10; SELECT COUNT(*) WHERE id > 100;COUNT(*)is subject to certain optimizations.SQL_CALC_FOUND_ROWScauses some optimizations to be disabled.
 
                    
                 
                
            
         浙公网安备 33010602011771号
浙公网安备 33010602011771号