Hosting. Domains. Your next step online.

Get past a phpMyAdmin SQL import size limit

How-to Guides PHP & databases

Identify the upload limit and move a large dump without corrupting the destination.

  1. Open phpMyAdmin → Import and read the maximum upload size. Check whether your archive format is accepted. A POST Content-Length warning points to a request-size limit, while a partially completed import calls for a separate review of what already loaded.
  2. Back up the destination. Import into an empty database you intend to use for the restore. Try a supported compressed dump if it fits the limit, or ask your provider for a supported large-file restore. phpMyAdmin can have its own PHP limits.
  3. Confirm that the expected tables and representative rows imported before switching the application to the restored database. If an attempt stopped midway, use a clean destination for a controlled retry to avoid duplicating data.

Read the cPanel documentation