mysql_command - taka512/memo GitHub Wiki

MySQLコマンド

SQLの結果をTSV出力

echo 'SELECT * FROM test' | mysql -u root -p test > /tmp/test.tsv