Issue while taking backup of mysql database table using php script -
I am trying to back up mysql database table by using php script below, but by executing this script it Creating backup file but there is no data in it How to overcome any idea, please help me
Script Try this:
& lt ;? Php echo exec ('mysqldump -u [root] -p [123456789] -h [localhost] [android] [house details] --where = "added data = \' 2013-11-22 09: 17: 28 \ ' & Gt; Housestats. SQL '); ? & Gt;
shell_exec ("mysqldump -u root-peepsword db_name table_name --where = \ "post_date in ('2011-12-15 06:14:55') \" & gt; /tmp/test.sql ");
Comments
Post a Comment