Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $un = "user_name_here";
- $pass = "gTbK5AQ)iuT";
- $hn = "localhost";
- $dbn = "database_name_here";
- $exp = "export_path_here";
- $output = array();
- exec("mysqldump --user=$un --password=$pass --host=$hn $dbn > $exp", $output, $worked);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement