Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@AbhishekGhosh
Created February 10, 2014 07:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AbhishekGhosh/8911560 to your computer and use it in GitHub Desktop.
Save AbhishekGhosh/8911560 to your computer and use it in GitHub Desktop.
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