1、打开 查看->隐藏的项目 2、进入 C:\ProgramData\MySQL\MySQL Server 8.0 3、打开my.ini文件,找到[mysqld]节点,在节点下加入:default-time-zone=’+08:00’