Hosting··4 min read

Import Large SQL Files in cPanel via SSH

If cPanel phpMyAdmin fails, SSH + MySQL CLI is the most reliable path.

SSH access lets you bypass upload limits and timeouts entirely.

Steps

  1. Split the dump into 20–50MB chunks
  2. Upload the files via SFTP
  3. Import with MySQL CLI
mysql -u user -p db_name < dump_part_1.sql

Related: How to Import Large SQL Files in cPanel (When phpMyAdmin Fails).

Prep your SQL for SSH import

Split large dumps into manageable chunks.

Split SQL file

Frequently Asked Questions

Do all cPanel hosts allow SSH?

No. Many shared plans disable it.

Related articles

View all

Advertisement