配置过max_allowed_packet依然 Error Chunking during uploading files to db..

mysql配置问题,导致上传azkaban上传包时出现

installation Failed
 Error Chunking during uploading files to db..

已经设置过max_allowed_packet了

mysql> show variables like ‘max_allowed_packet‘;
+--------------------+------------+
| Variable_name      | Value      |
+--------------------+------------+
| max_allowed_packet | 1073741824 |
+--------------------+------------+
1 row in set (0.00 sec)

innodb 引擎还需设置innodb_log_file_size,这个值默认50m
最终的my.cnf配置如下

  1 [mysqld]
  2 datadir=/home/homework/shaofengfeng/az/mysql/mysql/data
  3 socket=/home/homework/shaofengfeng/az/mysql/mysql/run/mysql.sock
  4 max_allowed_packet=1024M
  5 innodb_log_file_size=1024M

参考资料
https://github.com/azkaban/azkaban/issues/32

配置过max_allowed_packet依然 Error Chunking during uploading files to db..

上一篇:[db2数据库同步]db2数据库同步


下一篇:JS学习第八天