修改数据库时区问题 bat文件 登录数据库并打开test.sql文件,执行相关命令 @echo off mysql -uroot -p123<test.sql test.sql文件 修改时区, set global time_zone='+8:00';