about the config file

about the config file

am 02.08.2011 12:18:00 von Feng He

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=gcdmg-mysql-2@m.gmane.org

Re: about the config file

am 02.08.2011 13:28:39 von sureshkumarilu

--485b397dd0bba6249704a9840c89
Content-Type: text/plain; charset=ISO-8859-1

yes.

On Tue, Aug 2, 2011 at 3:48 PM, Feng He 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=sureshkumarilu@gmail.com
>
>


--
Thanks
Suresh Kuna
MySQL DBA

--485b397dd0bba6249704a9840c89--

Re: about the config file

am 02.08.2011 13:34:56 von Andrew Moore

--20cf30549ffb176cb404a984236f
Content-Type: text/plain; charset=ISO-8859-1

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 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=eroomydna@gmail.com
>
>

--20cf30549ffb176cb404a984236f--

Re: about the config file

am 02.08.2011 18:06:33 von prabhat kumar

--bcaec548a017787bc404a987ee3b
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

correct, dash (=93-=94) and underscore (=93_=94) may be used interchangeab=
ly.
http://dev.mysql.com/doc/refman/5.1/en/command-line-options. html
On Tue, Aug 2, 2011 at 4:34 AM, Andrew Moore 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 wrote:
>
> > Hello,
> >
> > In mysql's config file my.cnf, are the variable names with "_" and "-"
> the
> > same?
> > for example,
> >
> > log_error =3D ...
> > log-error =3D ...
> >
> > Thanks.
> >
> > --
> > MySQL General Mailing List
> > For list archives: http://lists.mysql.com/mysql
> > To unsubscribe:
> http://lists.mysql.com/mysql?unsub=3Deroomydna@gmail.com
> >
> >
>



--=20
Best Regards,

Prabhat Kumar
MySQL DBA

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

--bcaec548a017787bc404a987ee3b--