在程序中运行没有问题,封装成安装包之后运行,就出现了此问题,查了一些资料也没找到原因,请求大侠们帮忙
,我按照
http://www.cnblogs.com/cenalulu/archive/2013/01/08/2850820.html这个网页的方法,依次试了一下,原因1,无相关错误日志记录,
原因2,没看出什么问题,把我的参数贴出来了
mysql> show global variables like '%timeout';
+----------------------------+-------+
| Variable_name | Value |
+----------------------------+-------+
| connect_timeout | 30 |
| delayed_insert_timeout | 300 |
| innodb_lock_wait_timeout | 50 |
| innodb_rollback_on_timeout | OFF |
| interactive_timeout | 28800 |
| net_read_timeout | 30 |
| net_write_timeout | 60 |
| slave_net_timeout | 3600 |
| table_lock_wait_timeout | 50 |
| wait_timeout | 28800 |
+----------------------------+-------+
10 rows in set (0.00 sec)
原因3,无
原因4,未设置成功
mysql> set global max_allowed_packet=1024*1024*16;
Query OK, 0 rows affected (0.01 sec)
mysql> show global variables like 'max_allowed_pocket';
Empty set (0.00 sec)
请高手指教!还是我打包的时候有问题?不知道原因啊