MySQL Forums
Forum List  »  Newbie

Re: Upgrade from 5.5 to 5.6 is causing 'MySQL server has gone away'
Posted by: Peter Brawley
Date: June 28, 2022 06:54AM

Each MySQL version does more, so each version needs more resources.

The error log excerpt is after the crash (which left transactions incomplete). Is there an entry just before that? If not, perhaps the OS error log will have a report on running out of memory or disk space or some such.

A buffer pool of 128M is teeniny. Can we see the result of ...

select engine,data,indexes,total
from (
    ifnull(engine,'TOTALS') as engine, 
    concat(data,' GB') as data, 
    concat(indexes,' GB') as indexes, 
    concat(tot,' GB') as total,
    if(engine is null,-1,tot) as ord
  from (
      round( sum(data_length)/1024/1024/1024, 2 ) as data,  
      round( sum(index_length)/1024/1024/1024, 2 ) as indexes,  
      round( sum(data_length+index_length)/1024/1024/1024, 2 ) as tot
    from information_schema.tables
    where engine is not null 
      and engine not in('information_schema','performance_schema')
    group by engine with rollup
  ) sums
) list
order by list.ord desc;

... and of ...

Show Engine InnoDB Status;

... at the time the errors occur.

Edited 1 time(s). Last edit at 06/28/2022 02:13PM by Peter Brawley.

Options: ReplyQuote

Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.