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

java Multi query from Mysql using netbeans -

c# - DotNetZip fails with "stream does not support seek operations" -

c++ - StartServiceCtrlDispatcher don't can access 1063 error -