Elliot J. Balanza <mailto:[EMAIL PROTECTED]>
    on Monday, March 22, 2004 3:05 PM said:

> I was looking something more like a MySQL dump class or function...

this may not be as robust a solution as you require but can you not
simply backtick the mysqldump command from within php?

<?php

  $date = date();

  $output = `mysqldump --opt --quote-names -u root --password=daword
database > file_$date.dump`;

?>

or even create a shell script that does all the dumping and handling of
dump files and then just execute that.


hth,
chris.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to