IchHabRecht

[BASH] MySQL Dump

Apr 11th, 2014
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.22 KB | None | 0 0
  1. Dump erstellen
  2. C:\Program Files\MySQL Server\bin\mysql.exe -u $DBUSER -p$DBPASSWD $DATABASE > $FILENAME
  3.  
  4. Dump einspielen
  5. C:\Program Files\MySQL Server\bin\mysql.exe -u $DBUSER -p$DBPASSWD --database=$DATABASE < $FILENAME
Add Comment
Please, Sign In to add comment