|
|
|
|
|
|
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
![]() |
#2 |
a.k.a. Sparky
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
|
if it is huge, you're likely to run into timeouts on apache that aren't going to allow it to be downloaded completely.
What you can try is something like forking a process that does mysqldump -q -u username -ppassword databasename > /tmp/dump.sql and writing the pid of the forked process so that you can check to see if the process is still running. With most apache servers, in 2-3 minutes a php script (or any cgi script) will time out and kill the process -- resulting in an incomplete dump. Alternatively you can write your own dump that will go through the records one by one and output a . or space to the screen to keep apache from timing out.
__________________
SnapReplay.com a different way to share photos - iPhone & Android |
![]() |
![]() |
|
|