When we import Product CSV from Admin it says
Make sure your file isn't more than 2M.
How to increase this size? I have 5M file size. Don't want to create multiple CSV files with each 2M
find your php.ini file, for mine it is in
change the value of below line as per your interest
upload_max_filesize = 3M
after that restart your mysql and apache server, load the page again the changes get affect
also increase the execution time, it is help to avoid time out issue.
Magento 2 import process loads the CSV data into Mysql database in the table
You need to make sure that the Mysql parameter
'max_allowed_packet' is greater than
7.5M which correspond to
5M * 1.5 in your context.
And check also your PHP setting :
In your context, updating the PHP setting
upload_max_filesize is enough, but if the file size increase, update the Mysql parameter.