mysql 导入问题排查

ERR] 2006 - MySQL server has gone away

-- 查询最大数
 show global variables like 'max_allowed_packet';
-- 临时设置
set global max_allowed_packet=1024*1024*512;

ERR] 1231 - Variable 'time_zone' can't be set to the value of 'NULL'

找到 sql 文件中的 /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
将其删除

posted on 2022-11-03 17:28  正义的伙伴!  阅读(32)  评论(0编辑  收藏  举报

导航

//增加一段JS脚本,为目录生成使用