sql is a cloud specific wrapper with some magic. 

Making the path absolute as Cyberpower678 suggests should do the trick. Or using the mysql command if it has all needed parts should be good as well.


Em sex, 24 de mai de 2019 13:34, Thomas Stieve <tomthirteen@email.arizona.edu> escreveu:
Thank you

On Thu, May 23, 2019 at 11:38 PM Valerio Bozzolan via Cloud <cloud@lists.wikimedia.org> wrote:
Hello Thomas,

Just try to type 'mysql' instead of 'sql'. I don't know any 'sql' command.

Regards

On May 24, 2019 12:59:33 AM GMT+02:00, Maximilian Doerr <maximilian.doerr@gmail.com> wrote:
>You may need to point the command to the location by calling an
>absolute path.  Use “which sql” to figure out where the command is
>located.
>
>Cyberpower678
>English Wikipedia Account Creation Team
>English Wikipedia Administrator
>Global User Renamer
>
>> On May 23, 2019, at 18:57, Thomas Stieve
><tomthirteen@email.arizona.edu> wrote:
>>
>> Also, my question for the webchat was about how to run commands using
>a bash file. I used to be able to run:
>>
>> sql enwiki_p 'select * from logging where log_title = "A.S._Roma" and
>log_namespace = 0 and log_timestamp > 20160101000 and log_action =
>"move"' > A.S._Roma.txt;
>>
>> Now, I just just get command not found.
>>
>> Your help is greatly appreciated,
>> Tom
>>
>> On Thu, May 23, 2019 at 3:48 PM Thomas Stieve
><tomthirteen@email.arizona.edu <mailto:tomthirteen@email.arizona.edu>>
>wrote:
>> Thanks!
>>
>> On Thu, May 23, 2019 at 3:46 PM Maximilian Doerr
><maximilian.doerr@gmail.com <mailto:maximilian.doerr@gmail.com>> wrote:
>> It’s #wikimedia-cloud now
>>
>> Cyberpower678
>> English Wikipedia Account Creation Team
>> English Wikipedia Administrator
>> Global User Renamer
>>
>>> On May 23, 2019, at 18:44, Thomas Stieve
><tomthirteen@email.arizona.edu <mailto:tomthirteen@email.arizona.edu>>
>wrote:
>>>
>>> Hello all,
>>>
>>> Could someone tell me where webchat for wikimedia-labs is now?
>>> https://webchat.freenode.net/?channels=wikimedia-labs
><https://webchat.freenode.net/?channels=wikimedia-labs>
>>>
>>> Whenever I try to log in, I get:
>>>
>>> [15:43] -herbert.freenode.net <http://herbert.freenode.net/>- ***
>Notice -- TS for #wikimedia-labs changed from 1558651383 to 1320108738
>>> [15:43] == tomthirteen was kicked from #wikimedia-labs by ChanServ
>[Invite only channel]
>>>
>>> How could I get invited? Where is the new chat?
>>>
>>> Thank you for your help!
>>> Tom
>>> --
>>> Thomas Stieve
>>> Ph.D. Candidate
>>> School of Geography and Development
>>> University of Arizona
>>> _______________________________________________
>>> Wikimedia Cloud Services mailing list
>>> Cloud@lists.wikimedia.org <mailto:Cloud@lists.wikimedia.org>
>(formerly labs-l@lists.wikimedia.org
><mailto:labs-l@lists.wikimedia.org>)
>>> https://lists.wikimedia.org/mailman/listinfo/cloud
><https://lists.wikimedia.org/mailman/listinfo/cloud>
>> _______________________________________________
>> Wikimedia Cloud Services mailing list
>> Cloud@lists.wikimedia.org <mailto:Cloud@lists.wikimedia.org>
>(formerly labs-l@lists.wikimedia.org
><mailto:labs-l@lists.wikimedia.org>)
>> https://lists.wikimedia.org/mailman/listinfo/cloud
><https://lists.wikimedia.org/mailman/listinfo/cloud>
>>
>> --
>> Thomas Stieve
>> Ph.D. Candidate
>> School of Geography and Development
>> University of Arizona
>>
>>
>> --
>> Thomas Stieve
>> Ph.D. Candidate
>> School of Geography and Development
>> University of Arizona
>> _______________________________________________
>> Wikimedia Cloud Services mailing list
>> Cloud@lists.wikimedia.org <mailto:Cloud@lists.wikimedia.org>
>(formerly labs-l@lists.wikimedia.org
><mailto:labs-l@lists.wikimedia.org>)
>> https://lists.wikimedia.org/mailman/listinfo/cloud
><https://lists.wikimedia.org/mailman/listinfo/cloud>

--
Valerio Bozzolan
https://it.wikipedia.org/wiki/User:Valerio_Bozzolan
https://meta.wikimedia.org/wiki/User:Valerio_Bozzolan

E-mail sent from an Android LineageOS device without proprietary Google Apps, with the K-9 Mail client from F-Droid, delivered from my Postfix instance in my Debian GNU/Linux server.

Have fun with software freedom!

_______________________________________________
Wikimedia Cloud Services mailing list
Cloud@lists.wikimedia.org (formerly labs-l@lists.wikimedia.org)
https://lists.wikimedia.org/mailman/listinfo/cloud


--
Thomas Stieve
Ph.D. Candidate
School of Geography and Development
University of Arizona
_______________________________________________
Wikimedia Cloud Services mailing list
Cloud@lists.wikimedia.org (formerly labs-l@lists.wikimedia.org)
https://lists.wikimedia.org/mailman/listinfo/cloud