MySQLDump within PHP:
$shell = 'mysqldump
              -u'.$cur_db[user].'
              -p'.$cur_db[pass].'
              -h '.$cur_db[server].' '.$cur_db[name].' > '.$tmp_file.';';
   
    shell_exec( $shell ) or die( 'mysql:'.mysql_error() );

Alternatives:
SELECT * or field_list
FROM your_table
WHERE your_conditions INTO OUTFILE '/srv/folder/table.dump.file'
Tags
Comments
Write the first comment
Leave a trace
Name *
Email *
Website
Anti SPAM * Code (2 + 6) =
Leave me a comment *
 
All comments are subject to editorial review
Post being viewed right now
Item date: 01.01.2009
Views: 1908
Item date: 02.01.2009
Views: 1495
Item date: 10.04.2009
Views: 1137
Item date: 11.04.2009
Views: 1245
Item date: 15.05.2009
Views: 1842
Item date: 02.01.2009
Views: 1315
Item date: 21.07.2009
Views: 1405
Item date: 24.08.2009
Views: 1471
Item date: 01.04.2009
Views: 1521