Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Nov 21st, 2018
730
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.18 KB
| None
|
0
0
raw
download
clone
embed
print
report
USERNAME=
PASSWORD=
DBNAME=
QUERY_FILE_NAME=
mysql -u $USERNAME -D $DBNAME -p$PASSWORD -B < $QUERY_FILE_NAME | sed "s/'/\'/;s/\t/\",\"/g;s/^/\"/;s/$/\"/;s/\n//g" > $QUERY_FILE_NAME.csv
Add Comment
Please,
Sign In
to add comment
Public Pastes
💲 G2A.com Free Gift Card Guide Mar 2024 💲
GetText | 1 min ago | 0.54 KB
Untitled
Lua | 6 min ago | 45.75 KB
M - Most Ordered Way
C++ | 9 min ago | 2.02 KB
OccupiedDouble/SingleRooms
Java | 21 min ago | 1.63 KB
Untitled
AutoIt | 33 min ago | 7.05 KB
G
C++ | 43 min ago | 1.07 KB
F
C++ | 43 min ago | 0.49 KB
E
C++ | 43 min ago | 0.98 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!