Skip to content

Instantly share code, notes, and snippets.

@rjeschmi
Created May 13, 2014 19:42
Show Gist options
  • Save rjeschmi/8e4df38eea768d79daf4 to your computer and use it in GitHub Desktop.
Save rjeschmi/8e4df38eea768d79daf4 to your computer and use it in GitHub Desktop.
!! The ERROR '2006' was CLEARED by call to prepare method
-> prepare for DBD::mysql::db (DBI::db=HASH(0x6275ae0)~0x6275c00 'select * from bags a left join (select path as b_path,repo_id as b_repo, md5 as b_md5 from bags where repo_id ='romano') as b on (a.path=b_path) where a.repo_id='paneer' and (b_repo is null or a.md5!=b_md5)') thr#12d7010
-> dbd_st_prepare MYSQL_VERSION_ID 50534, SQL statement: select * from bags a left join (select path as b_path,repo_id as b_repo, md5 as b_md5 from bags where repo_id ='romano') as b on (a.path=b_path) where a.repo_id='paneer' and (b_repo is null or a.md5!=b_md5)
>- dbd_st_free_result_sets
<- dbd_st_free_result_sets RC -1
<- dbd_st_free_result_sets
>count_params statement select * from bags a left join (select path as b_path,repo_id as b_repo, md5 as b_md5 from bags where repo_id ='romano') as b on (a.path=b_path) where a.repo_id='paneer' and (b_repo is null or a.md5!=b_md5)
<- dbd_st_prepare
<- prepare= ( DBI::st=HASH(0x6100f90) ) [1 items] at diff.pm line 63
-> execute for DBD::mysql::st (DBI::st=HASH(0x6100f90)~0x67fb570) thr#12d7010
-> dbd_st_execute for 06858aa0
>- dbd_st_free_result_sets
<- dbd_st_free_result_sets RC -1
<- dbd_st_free_result_sets
mysql_st_internal_execute MYSQL_VERSION_ID 50534
>parse_params statement select * from bags a left join (select path as b_path,repo_id as b_repo, md5 as b_md5 from bags where repo_id ='romano') as b on (a.path=b_path) where a.repo_id='paneer' and (b_repo is null or a.md5!=b_md5)
--> do_error
MySQL server has gone away error 2006 recorded: MySQL server has gone away
<-- do_error
IGNORING ERROR errno 0
<- dbd_st_execute returning imp_sth->row_num 18446744073709551614
!! ERROR: 2006 'MySQL server has gone away' (err#0)
<- execute= ( undef ) [1 items] at diff.pm line 64
DBD::mysql::st execute failed: MySQL server has gone away at lib/Overseer/Controller/rest/diff.pm line 64.
-> DESTROY for DBD::mysql::st (DBI::st=HASH(0x67fb570)~INNER) thr#12d7010
ERROR: 2006 'MySQL server has gone away' (err#0)
<- DESTROY= ( undef ) [1 items] at diff.pm line 64
192.168.1.66 - - [13/May/2014:15:39:27 -0400] "GET /diff/paneer/romano HTTP/1.1" 500 - "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.99 Safari/537.36"
[info] *** Request 13 (0.009/s) [23630] [Tue May 13 15:39:27 2014] ***
[debug] Path is "diff"
[debug] Arguments are "paneer/romano"
[debug] "GET" request for "diff/paneer/romano" from "192.168.1.66"
[error] Caught exception in Overseer::Controller::rest::diff->index "DBD::mysql::st execute failed: MySQL server has gone away at lib/Overseer/Controller/rest/diff.pm line 64."
[debug] Response Code: 500; Content-Type: text/html; charset=utf-8; Content-Length: 16166
[info] Request took 0.012327s (81.123/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
| /rest/diff/begin | 0.000185s |
| /rest/diff/index | 0.002821s |
| /rest/diff/end | 0.000123s |
'------------------------------------------------------------+-----------'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment