List:General Discussion« Previous MessageNext Message »
From:Prabhat Kumar Date:August 2 2011 4:06pm
Subject:Re: about the config file
View as plain text  
correct,  dash (“-”) and underscore (“_”) may be used
interchangeably.
http://dev.mysql.com/doc/refman/5.1/en/command-line-options.html
On Tue, Aug 2, 2011 at 4:34 AM, Andrew Moore <eroomydna@stripped> wrote:

> Hey!
>
> I asked this one a long time ago. They are interchangeable in most cases. I
> can recall there was one or two options (pid-file and log-error...I
> think?!)
> that were funky with the '_' but I can't be sure that's still an issue.
>
> Try them out and don't worry too much about the aesthetics of the file.
>
> Andy
>
> On Tue, Aug 2, 2011 at 11:18 AM, Feng He <shorttag@stripped> wrote:
>
> > Hello,
> >
> > In mysql's config file my.cnf, are the variable names with "_" and "-"
> the
> > same?
> > for example,
> >
> > log_error = ...
> > log-error = ...
> >
> > Thanks.
> >
> > --
> > MySQL General Mailing List
> > For list archives: http://lists.mysql.com/mysql
> > To unsubscribe:
> http://lists.mysql.com/mysql?unsub=1
> >
> >
>



-- 
Best Regards,

Prabhat Kumar
MySQL DBA

My Blog: http://adminlinux.blogspot.com
My LinkedIn: http://www.linkedin.com/in/profileprabhat

Thread
about the config fileFeng He2 Aug
  • Re: about the config fileSuresh Kuna2 Aug
  • Re: about the config fileAndrew Moore2 Aug
    • Re: about the config filePrabhat Kumar2 Aug