Please help, I got this code from Googling about using mysql dump on php. But it just generates a blank .sql file I'm already trying to insert mysqldump.exe as a php file on the same directory but does not work.
& lt ;? Php system ('mysqldump -uroot -pmypassword test & gt; C: \ WAMP \ www \ test \ test.sql'); ? & Gt; I am trying to, but I am running Windows 7 and if I change privileges in CMD.XA, even if I get access denied by access, even then I'm an administrator.
Please help, why is this generating a blank SQL file? How can I fix this?
-Try putting a place between U and your username
< & lt ;? Php system ('mysqldump -u root -pmypassword test & gt; c: \ wamp \ www \ test \ test.sql'); ? & Gt;
Comments
Post a Comment