登陸數據庫並打開test.sql文件,執行相關命令mysql
@echo off mysql -uroot -p123<test.sqlsql
修改時區,數據庫
set global time_zone='+8:00';spa