lunes, 1 de agosto de 2011

Big Dump

If you need to dump a lot of megabytes into your MySql database, well, don't waste your time doing a PHP routine... It's already here: BigDump.php

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


Usage

  1. Open bigdump.php in a text editor and adjust the database configuration
  2. Drop the old tables on the target database if your dump doesn’t contain “DROP TABLE” (use phpMyAdmin)
  3. Create the working directory (e.g. dump) on your web server
  4. 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 but BINARY mode for dump.gz if uploading from MS Windows).
  5. Run the bigdump.php from your browser via URL likehttp://www.yourdomain.com/dump/bigdump.php. Now you can select the file to be imported from the listing of your working directory.
  6. BigDump will start every next import session automatically if you enable the JavaScript in your browser.
  7. Relax and wait for the script to finish. Do NOT close the browser window!
  8. IMPORTANT: Remove bigdump.php and your dump files from your server

Download: http://www.ozerov.de/bigdump.zip