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

by Raghu on October 6, 2011

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

In my case it is located here:

  • C:\xampp\phpmyadmin\config.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:\xampp\apps\phpmyadmin\upload\

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.

Related posts:

  1. [Fixed] WordPress – Images Not Showing Up After Upload
  2. Intense Debate WordPress Comments Import = Frustration
  3. WordPress – Is its parent directory writable by the server?

Leave a Comment

Previous post:

Next post: