https://blog.csdn.net/weixin_36271649/article/details/113594954
MySQL Server 8.0.17 deprecated the display width for the TINYINT, SMALLINT, MEDIUMINT, INT, and BIGINT data types when the ZEROFILL modifier is not used, and MySQL Server 8.0.19 has removed the display width for those data types from results of SHOW CREATE TABLE, SHOW CREATE FUNCTION, and queries on INFORMATION_SCHEMA.COLUMNS, INFORMATION_SCHEMA.ROUTINES, and INFORMATION_SCHEMA.PARAMETERS (except for the display width for signed TINYINT(1)). This patch adjusts Connector/J to those recent changes of MySQL Server and, as a result, DatabaseMetaData, ParameterMetaData, and ResultSetMetaData now report identical results for all the above-mentioned integer types and also for the FLOAT and DOUBLE data types. (Bug #30477722)
从8.0.17版本开始,TINYINT, SMALLINT, MEDIUMINT, INT, and BIGINT类型的显示宽度将失效。
在navicat中设置bigint类型字段的长度,会自动被置换为0.
MySQL, 显示宽度, 数据类型, 版本更新, 数据库
MySQL 8.0.17及以上版本中,TINYINT、SMALLINT、MEDIUMINT、INT和BIGINT类型的显示宽度失效,Navicat中设置BIGINT字段长度会自动变为0。