To import a database via HeidiSQL, do the following:
If the imported database dump is large enough and you are having difficulty loading it into HeidiSQL, try running the import directly from the file. To do this, in the menu ("File") Instead of"Load SQL file…» («Upload SQL file…") Use"Run SQL file…» («Execute SQL file…»):