I usually just do:
echo "select * from projects;" | ssh -p <port> <ip> gerrit
gsql
-Martin
hi
i want to control mysql.. so I use gerrit gsql
ex) ssh -p <port> <ip> gerrit gsql \-c "select * from projects;"
but it doesn't work
error message : fatal : No argument is allowd
Anybody who knows this?
I can't seem to make string arguments in queries work. Any ideas?:ssh -p 29418 <address> gerrit gsql -c "'SELECT COUNT(*) FROM accounts WHERE inactive = 'Y''"
On Tuesday, April 5, 2011 1:27:09 AM UTC-5, SeongUk Baek wrote:hi
i want to control mysql.. so I use gerrit gsql
ex) ssh -p <port> <ip> gerrit gsql \-c "select * from projects;"
but it doesn't work
error message : fatal : No argument is allowd
Anybody who knows this?
-----
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.