mysql5.5在2038年以后是没法运行的,将系统时间更改未2038年之后,用软件连接数据库,数据库直接停止运行,重新启动服务启动不了。
测试MySQL8.0也没法启动。
380706 9:09:58 [Warning] Current time has got past year 2038. Validating current time with 5 iterations before initiating the normal server shutdown process.
380706 9:09:58 [Warning] Iteration 1: Current time obtained from system is greater than 2038
380706 9:09:58 [Warning] Iteration 2: Current time obtained from system is greater than 2038
380706 9:09:58 [Warning] Iteration 3: Current time obtained from system is greater than 2038
380706 9:09:58 [Warning] Iteration 4: Current time obtained from system is greater than 2038
380706 9:09:58 [Warning] Iteration 5: Current time obtained from system is greater than 2038
380706 9:09:58 [ERROR] This MySQL server doesn't support dates later than 2038
380706 9:09:58 [Note] mysqld: Normal shutdown
380706 9:09:58 [Note] Event Scheduler: Purging the queue. 0 events
380706 9:09:58 InnoDB: Starting shutdown...
380706 9:09:58 InnoDB: Shutdown completed; log sequence number 820648467
380706 9:09:58 [Note] mysqld: Shutdown complete