< Buzzing or vibrating the login form using jquery Posted On May 15, 2012 : 0 comments << >> Simple div slideshow using jquery Posted On May 9, 2012 : 0 comments << >> Copy mysql column in varchar to type date Posted On May 3, 2012 : 0 comments << >> Enter only numbers inside a input field of a form using javascript Posted On May 1, 2012 : 0 comments << >> Slide in and out animate div vertically using jquery Posted On April 25, 2012 : 1 comment << >> Tag cloud using php, mysql and ajax with filter Posted On April 24, 2012 : 0 comments << >> Change webpage font color or background color from the user side using javascript Posted On April 19, 2012 : 0 comments << >> A single link that cycles through several webpage background color using javascript Posted On April 17, 2012 : 0 comments << >> Simple webpage redirection using perl script Posted On April 10, 2012 : 0 comments << >> Get ipaddress using perl script Posted On April 4, 2012 : 0 comments << >>

Import large files in mysql using PhpMyAdmin

This Tutorial Has Been Viewed 5,503 Times.
VN:F [1.9.17_1161]
Rating: 8.0/10 (4 votes cast)

Sometimes when trying to upload some huge SQL file using PHPMYADMIN we might come across this ERROR MESSAGE

Error: You probably tried to upload too large file. Please refer to documentation for ways to workaround this limit

There is simple a fix for this:-
Find the config.inc.php file located in the phpmyadmin directory. In my case it is located here:

H:\xampp\phpMyAdmin\upload\config.inc.php

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

$cfg['UploadDir'] = 'upload';

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

C:\wamp\apps\phpmyadmin3.2.0.1\upload\

Then place the large sql file that you are trying to import into the new upload directory. Now when you go onto the db import page within phpmyadmin console you will notice a drop down present that wasn’t there before – it contains all of the sql files in the upload directory that you have just created. You can now select this and begin the import.

The new option that you see in the import page will be similar to this

(Max: 16,384KiB)
Or
:

Imported file compression will be automatically detected from: None, gzip, zip
Please make sure that you just restart your Mysql server.
VN:F [1.9.17_1161]
Rating: 8.0/10 (4 votes cast)

Import large files in mysql using PhpMyAdmin, 8.0 out of 10 based on 4 ratings

Incoming search terms:





You will also be interested in ,

Tags: , ,

2 Responses

  1. NIKOS says:

    doesn’t work

    VA:F [1.9.17_1161]
    Rating: 0.0/5 (0 votes cast)

Leave a Reply

Proudly designed by Mistonline.in.
Affordable Seo PackagesSeo BlogEdu Backlinks