List:General Discussion« Previous MessageNext Message »
From:Johan De Meersman Date:January 28 2009 8:47am
Subject:Re: Setting the value for the EDITOR variable
View as plain text  
You need to set that in the script that starts your mysql daemon, probably
/etc/init.d/mysql or something similar.

On Tue, Jan 27, 2009 at 3:44 PM, Xristos Karvouneas
<kalamata12@stripped>wrote:

>
> Dear All,
>
> I would like to be able to do that from the cnf file, as I want to have a
> different editor for MySQL commands than the one I use when writing shell
> scripts. When I put the following in the .my.cnf file,
> [shell]
> EDITOR=/usr/local/bin/pico
> export EDITOR
>
> I get no error messages when mysql starts up, but the value of the EDITOR
> variable does not change.
>
> Is there any way I can achieve that from the cnf file?
>
> Thanks,
> Xristos
> _________________________________________________________________
> Show them the way! Add maps and directions to your party invites.
> http://www.microsoft.com/windows/windowslive/events.aspx




-- 
Celsius is based on water temperature.
Fahrenheit is based on alcohol temperature.
Ergo, Fahrenheit is better than Celsius. QED.

Thread
Setting the value for the EDITOR variableXristos Karvouneas28 Jan
  • Re: Setting the value for the EDITOR variablePaul DuBois28 Jan
  • Re: Setting the value for the EDITOR variableJohan De Meersman28 Jan
    • RE: Setting the value for the EDITOR variableXristos Karvouneas28 Jan
      • Re: Setting the value for the EDITOR variableJohan De Meersman28 Jan