Protected: Camp Fire Photos (mostly Command Post)

This content is password protected. To view it please enter your password below:

Posted in Outdoors and Travel, Snapshots | Tagged , | Enter your password to view comments.

Hershey Car Show 2018

Friday, October 12, 2018

Most of these photos are from the Car Corral area; some are from the vendor area.

Continue reading

Posted in Snapshots | Tagged , | Leave a comment

Katie at Port San Luis

Posted in Outdoors and Travel, Snapshots | Tagged , , , , | Leave a comment

Busted Plugga

broken flip flopBlew out my flip flop

 

First day of vacation at the beach…

 

Posted in Snapshots | Tagged , , | Leave a comment

Dumping a SQL query into a CSV file in MySQL

Yet another note to myself…

SELECT order_id,product_name,qty 
FROM orders
INTO OUTFILE '/tmp/orders.csv'
FIELDS TERMINATED BY ','
ENCLOSED BY '"'
LINES TERMINATED BY '\n'

Credit to http://www.tech-recipes.com/rx/1475/save-mysql-query-results-into-a-text-or-csv-file/

(Since this apparently doesn’t work with one of the versions of MySQL I use, the following can be used from the operating system command line:)

mysql -p -u username databasename < query.sql > results.txt

Posted in Technology | Tagged | Leave a comment