/usr/bin/./mysqldump -u db_name -pdb_password db_table
This works great from the command line, but when trying to execute as a shell command, system, or exec from within a PHP script it fails. Here is my PHP code:
$db_backup = "/usr/bin/./mysqldump -u db_name -pdb_password db_table
/home/my_dir/db_dump.sql";
$sql_dump_result = system($db_backup);