phpmyadmin increase the import file size

Click any of the db using custom to export.


When you are importing db ,we must create a new db and then import the backup sql file .

By default phpmyadmin not allowed to upload more than 2MB or 8MB file . see below:default size

But we can change the size .Go to :

#vim /etc/php5/apache2/php.ini

You need to search for these locations:

memory_limit =
post_max_size =
upload_max_filesize =

change the desired value you want.
After that see below 

altered size
Note : when you are moving one server to another server .Please note the db name ,username ,password etc.
and also ensure the data s for that db .



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