neethu@ubuntu:~$ mysqldump -u root -p database_name > /home/neethu/Desktop/time/backup5.sql
Enter password:
neethu@ubuntu:~$
this code works in terminal...but i need to implement it using php...
hi, i want to dump databases... we r doing a project on replication of databases.... through terminal replication works all well ... but in developing gui in netbeans using php im not able to dump databases using mysqldump...tried out many codes by googling but was of no use....is der any way out other than mysqldump...pls help...
neethu@ubuntu:~$ mysqldump -u root -p database_name > /home/neethu/Desktop/time/backup5.sql
Enter password:
neethu@ubuntu:~$
this code worked but through php i tried many codes but was of no use
$cmd = "$dump -u$username -p$password $data --quick --add-drop-table $db $t | $grep -v 'Dump completed' | $gzip -n > $temp";
system($cmd);
above is jus one among many dat i tries...pls help me asap...
awaiting ur reply...