Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Executing sql commands with PHP
exec("mysqldump -u user -p passwod database > outputfile.sql 2> error.log");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment