[support] [solved] drush sql-query returns nothing

Tim Johnson tim at akwebsoft.com
Tue Nov 5 20:11:51 UTC 2013


* Tim Johnson <tim at akwebsoft.com> [131104 10:53]:
> I am using drush 5.8 on Mac OSX
> 
> drush sql-query returns nothing at all, can't see to get any
<...> Note to self (and others) `verbose` is your friend. 
When I invoked
drush -v sql-query 'show tables;'
I could see that drush was using the value for the drushrc
options['result-file'] as an output file.
now I can use something like
drush -v --result-file=/Users/tim/drush_results.txt sql-query 'show
tables;'
to capture output in a file or
drush -v --result-file= sql-query 'show
tables;'
to print to stdout
-- 
Tim 
tim at tee jay forty nine dot com or akwebsoft dot com
http://www.akwebsoft.com, http://www.tj49.com


More information about the support mailing list