BIGDUMP SQL IMPORT

  • AUTHOR: // CATEGORY: Development, Open Source

    No Comments

    So … sometimes you on shared hosting and you need to import a large database. Problem phpmyadmin only supports a max of > 50MB. So the first option is to check the php.ini or the cursed .htaccess file – however many times shared providers override these or won’t allow an apache restart immediately.

    So in comes BigDump SQL Import (http://www.ozerov.de/bigdump/)

    Usage

    1. 1- Download this file or from the http://www.ozerov.de/bigdump.zip
    2. 2- Open bigdump.php in a text editor, adjust the database configuration and dump file encoding.
    3. 3- Drop the old tables on the target database if your dump doesn’t contain “DROP TABLE” (use phpMyAdmin).
    4. 4- Create the working directory (e.g. dump) on your web server
    5. 5- Upload bigdump.php and the dump files (*.sql or *.gz) via FTP to the working directory (take care of TEXT mode upload for bigdump.php and dump.sql butBINARY mode for dump.gz if uploading from MS Windows).
    6. 6- Run the bigdump.php from your web browser via URL likehttp://www.yourdomain.com/dump/bigdump.php.
    7. 7- Now you can select the file to be imported from the listing of your working directory. Click “Start import” to start.
    8. 8- BigDump will start every next import session automatically if JavaScript is enabled in your browser.
    9. 9- Relax and wait for the script to finish. Do NOT close the browser window!
    10. — IMPORTANT: Remove bigdump.php and your dump files from your web server.

     

    Credits to http://www.ozerov.de/bigdump/usage/

    Happy importing

COMMENTS

0 Responses to BigDump SQL Import

LEAVE A REPLY

This site uses Akismet to reduce spam. Learn how your comment data is processed.