> I copied across the file from my other machine (changing 5.6 to 5.7).
And restarted the mysql server? If not, do it. If so, let see ...
select engine,data,indexes,total
from (
select
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 (
select
engine,
round( sum(data_length)/1024/1024/1024, 1 ) as data,
round( sum(index_length)/1024/1024/1024, 1 ) as indexes,
round( sum(data_length+index_length)/1024/1024/1024, 1 ) 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 please post the results of running these queries in the mysql client program ...
show variables;
show global status;
and how much RAM is available to mysql in the new installation, ie how much RAM is free when everything except MySQL is loaded?