This question already has an answer here:
I need to import my Live site into localhost for testing,
DB size - 1.4GB & Root Folder Size - 1.2 GB
How can I import large size of SQL file into DB?
DB Import Error: You probably tried to upload a file that is too large. Please refer to documentation for a workaround for this limit.