hive 异常The last packet sent successfully to the server was 0 milliseconds ago.

修改/etc目录下的my.cnf

  [mysqld]

   wait_timeout=86400

参见:https://blog.csdn.net/shiqidide/article/details/7642531

原文地址:https://www.cnblogs.com/KKKe/p/12965126.html