Issue while taking backup of mysql database table using php script -



Issue while taking backup of mysql database table using php script -

i trying backup of mysql database table using php script below executing script creating backup file no info in .any thought how overcome please help me out.

script

<?php echo exec('mysqldump -u[root] -p[123456789] -h[localhost] [android] [housedetails] --where="addeddate=\'2013-11-22 09:17:28\'"> housedetails.sql'); ?>

try this:

shell_exec("mysqldump -u root -ppassword db_name table_name --where=\"post_date in ('2011-12-15 06:14:55')\" > /tmp/test.sql");

php mysql

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -