Created
June 30, 2016 13:27
-
-
Save oliverlundquist/079c46d0c29d92344eeae5b02873ea15 to your computer and use it in GitHub Desktop.
Export Tables
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh -i ~/.vagrant.d/insecure_private_key 192.168.100.109 <<- ENDSSH > test.txt | |
mysqldump -h0.0.0.0 -uroot -proot -d mystore2 mysql -h0.0.0.0 -uroot -proot -D mystore2 -Bse "SHOW TABLES LIKE 'chips_%'" | |
ENDSSH | |
ssh -i ~/.vagrant.d/insecure_private_key 192.168.100.109 ' | |
HOST=0.0.0.0 | |
USERNAME=root | |
PASSWORD=root | |
DATABASE=mystore2 | |
mysqldump -h0.0.0.0 -uroot -proot -d $ | |
TABLE="something" | |
echo $TABLE | |
' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment