Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 0 - Success
- 1 - Warning
- 2 - Exception
- mysqldump.exe --user USERNAME --password=PASSWORD --database DATABASE > dump.sql
- REM Check for error
- if %ERRORLEVEL% NEQ 0 (goto ERROR)
- echo MySQL was dumped successfully
- goto :EOF
- :ERROR
- echo Error occured
- exit
Add Comment
Please, Sign In to add comment