Increase phpMyAdmin file import size


phpMyAdmin allows by default a maximum upload size of 8Mb for importing a sql file.This can be sometimes too small.


The maximum import size is stored in the php.ini file located in the PHP directory. Look for the line named upload_max_filesize and change it accordingly:

upload_max_filesize = 128M

However, sometimes the server has also a maximum execution time which should be increased to allow a larger upload.

For considerably larger imports, the command line should be used.


About admin

Just another php developer trying to give something back to the community.
This entry was posted in System and tagged , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s