Timeout error during import database means you have too large file for your settings from configuration files. If you have this problem, you probably saw this message:
Script timeout passed, if you want to finish import, please resubmit same file and import will resume
So what next? Size of your backup you propably cant't change, but config parameters - surely yes.