Please help, I got this code from googling on how to use mysql dump on php. But its just generating a blank .sql file. I already tried putting the mysqldump.exe on the same directory as the php file but doesn't work.
<?php
system('mysqldump -uroot -pmypassword test > C:\wamp\www\test\test.sql');
?>
I this yapmaya çalışıyorum, ama ben windows 7 kullanıyorum ve ben yönetici olsam bile ben cmd.exe içinde ayrıcalıkları değişmesi durumunda erişim engellendi hatası alıyorum.
Please help, why is it generating a blank sql file? How do I solve this?