Return to Snippet

Revision: 21682
at December 18, 2009 10:41 by endorfin


Initial Code
echo "SELECT columns FROM table_name WHERE whatever='something'" | /path/to/mysql -uUSERNAME -pPASSWORD DATABASENAME > /tmp/outfile.txt;

Initial URL

                                

Initial Description

                                

Initial Title
How to Save results from MySQL into an external file

Initial Tags
mysql

Initial Language
MySQL