Hello,
I've got Problems using the mysqldump utility from within PHP.
Here is my Code:
$command = $config["mysqldump_path"] . $config["mysqldump_command"] . " --user " . $config["user"]
. " --password=" . $config["password"] . " -c -v --add-drop-table --all-databases > " . $config["temp_dir"] . $output_file;
system ( $command );
?>
The Variables are all set to the correct values, but the result is, that the mysqldump-helppage is displayed when accessing this file through the Webbrowser and not the Output I reveive, when I enter the constructed CommandLine in my windows Command prompt.
The Commandline is:
c:\mysql\bin\mysqldump --user backup_user --password=secret -c -v --add-drop-table --all-databases > c:\inetpub\wwwroot\temp\ocwhljyg.sql
Any Idea?