You can’t access the server shell and you can’t import the dump using phpMyAdmin or any other scripts due to hard memory resp. runtime limit of the web server.
The script imports only a small part of the huge dump and restarts itself. The next session starts where the last was stopped.
- Download the BigDump script.
- Unzip and open bigdump.php with NetBeans.
- Adjust the database configuration (database, username, password).
- Open filezilla and create the working directory (e.g. dump) on your web server.
- Upload bigdump.php and the dump file (*.sql or *.gz) via FTP to the working directory.
- Run the bigdump.php from your browser via URL like http://www.yourdomain.com/dump/bigdump.php.
- Relax and wait for the script to finish. Do NOT close the browser window!
- Test your website to see that it is working properly.
- Remove bigdump.php and your dump files from your server
If Timeout errors still occur you may need to adjust the $linespersession setting in bigdump.php.