Last active
July 30, 2020 02:33
-
-
Save abcarroll/f08c90365bc049032fdff49b73f240d8 to your computer and use it in GitHub Desktop.
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
ab@tower:~/vxx$ echo "drop database xxx" | sudo mysql | |
ab@tower:~/vxx$ echo "create database if not exists xxx; use xxx; create table if not exists a( b blob ); insert into a (b) values(X'000a0af0ffdeadbeef');" | sudo mysql | |
ab@tower:~/vxx$ echo "select * from xxx.a" | sudo mysql --raw -b > data | |
ab@tower:~/vxx$ hd data | |
00000000 62 0a 00 0a 0a f0 ff de ad be ef 0a |b...........| | |
0000000c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment