Re: about the config file
yes. On Tue, Aug 2, 2011 at 3:48 PM, Feng He short...@gmail.com 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=sureshkumar...@gmail.com -- Thanks Suresh Kuna MySQL DBA
Re: about the config file
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 short...@gmail.com 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=eroomy...@gmail.com
Re: about the config file
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 eroomy...@gmail.com 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 short...@gmail.com 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=eroomy...@gmail.com -- Best Regards, Prabhat Kumar MySQL DBA My Blog: http://adminlinux.blogspot.com My LinkedIn: http://www.linkedin.com/in/profileprabhat