php mysqldump in PHP Coding Help Posted June 17, 2021 <?php $pathToMysqldump = "C:\xampp\mysql\bin"; $user= "root"; $pass= ""; $namedb= "test"; $output= "C:\xampp\htdocs\test\test.sql //backup saved exec("$pathToMysqldump --user=$user--password=$pass $namedb> $output"); //header('Location: http://localhost/test); exit; Hi people, i cant do it work, I use xampp and back dont creat the file .sql. Thanks a lot.
php mysqldump
in PHP Coding Help
Posted
<?php
$pathToMysqldump = "C:\xampp\mysql\bin";
$user= "root";
$pass= "";
$namedb= "test";
$output= "C:\xampp\htdocs\test\test.sql
//backup saved
exec("$pathToMysqldump --user=$user--password=$pass $namedb> $output");
//header('Location: http://localhost/test);
exit;
Hi people, i cant do it work, I use xampp and back dont creat the file .sql.
Thanks a lot.