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.
