b0nd
09-25-2012, 03:25 PM
phpMyAdmin provides few options to import database files but generally limited to 2Mb in size.
Through sql command line it's possible to import gigs of db file.
To do the same using phpMyAdmin:
open /etc/phpmyadmin/config.inc.php
look for line $cfg['UploadDir'] = ' ';
edit it to $cfg['UploadDir'] = 'upload';
save the file and exit
Go to /usr/share/phpmyadmin
create a directory named 'upload'
Put your big db file in newly created upload directory, browse to phpmyadmin and find the new option under "import' - "Select from the web server upload directory ... "
Cheers!
PS: I am no db expert. It would be appreciable if people share their hacks in this thread on the same.
Through sql command line it's possible to import gigs of db file.
To do the same using phpMyAdmin:
open /etc/phpmyadmin/config.inc.php
look for line $cfg['UploadDir'] = ' ';
edit it to $cfg['UploadDir'] = 'upload';
save the file and exit
Go to /usr/share/phpmyadmin
create a directory named 'upload'
Put your big db file in newly created upload directory, browse to phpmyadmin and find the new option under "import' - "Select from the web server upload directory ... "
Cheers!
PS: I am no db expert. It would be appreciable if people share their hacks in this thread on the same.