A MySQL import can exceed phpMyAdmin's upload or execution limits. There is no universal size at which a database becomes 'too large': limits depend on the server.

Prepare the target database

Back up existing data. In Manage My Databases, create the database and user, then assign the user to the database with the required privileges. Note the full names displayed in cPanel.

Try importing through phpMyAdmin

Open the target database and the Import tab. Check the displayed maximum size. A compressed file may be accepted depending on the configuration. If import fails, keep the exact error before retrying or changing methods.

Use an authorized server-side method

If your plan provides SSH and the MySQL client, a command-line import can avoid the browser upload limit. Support can confirm access and the appropriate command.

mysql -u utilisateur -p base_cible < sauvegarde.sql

Replace the example names with your account's values. The -p option prompts for the password without including it directly in the command. Check the SQL file and target database before running it.

Protect the backup file

Store it outside the public document root and remove the temporary copy after checking the import. Do not install a public importer that exposes the database or its credentials.

Check the imported data

Confirm that tables exist and test the application. Address encoding, privilege or SQL compatibility errors using the reported message, rather than only increasing memory.

Interface illustrations

These screenshots show the versions used when the original article was written. Labels may differ in your current version; follow the written procedure and your account settings.

cPanel database
MySQL database creation form in cPanel
Creating a MySQL user in cPanel
Selecting a MySQL user in cPanel
Assigning user privileges to a MySQL database
cPanel File Manager
Uploading a file in cPanel File Manager
cPanel's built-in terminal

Related guides

Reference documentation:

Sources accessed on October 11, 2026. Available features depend on your hosting version and options.