[Fixed] You probably tried to upload too large file – phpmyadmin

Find the config.inc.php file located in the phpmyadmin directory.

In my case it is located here:

  • C:xamppphpmyadminconfig.inc.php

Find the line with $cfg['UploadDir'] on it and update it to:

  • $cfg['UploadDir'] = ‘upload’;

If above line doesn’t exist, then copy it from config.sample.inc.php

Create a directory called ‘upload’ within the phpmyadmin directory.

  • C:xamppappsphpmyadminupload

Then place the move the sql files into upload folder.

Now when you go to phpmyadmin import page you will see  a drop down with list of .sql files.

You can now select this and begin the import.

I’m using xampp for Windows 7.

Comments Policy: Use a valid email address. Your words are your own, so be nice and helpful if you can. No ads, phone number or Email Id allowed in contents. No keywords in Name field.

Speak Your Mind

*