Speedup MYSQL(8.0.13) Restore from .sql file
innodb_buffer_pool_size should be closer to 1G rather than 8M
also increase innodb_log_file_size to 256M as the default 48M is a bit slow.
A innodb_log_buffer_size of 48M would help rather than a very small 1M.