Welcome to the HostMaji Community! Ask a question or share a project to get started.

Database & MySQL Help

How do I import a large SQL file?

Author's Avatar

Asked by Vikas Kumar

August 2, 2025

I'm trying to import a database backup that is over 100MB, but phpMyAdmin is timing out. Is there another way to do this?

1 Answer(s)

User Avatar

Community Support Verified

Aug 02, 2025 at 12:20 PM

Hello Vikas, for large database imports, it's best to bypass the phpMyAdmin upload limits. You can upload the `.sql` file to your account via the File Manager or FTP, and then import it using the command line via SSH. The command would be something like: `mysql -u your_db_user -p your_db_name < /path/to/your/file.sql`. If you are not comfortable with SSH, our support team can import it for you.

Your Answer

Please log in to post an answer.