Bug #9162 @sysconfdir@ used in man/mysql.1.in
Submitted: 14 Mar 2005 11:31 Modified: 15 Mar 2005 2:35
Reporter: Hartmut Holzgraefe Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Documentation Severity:S3 (Non-critical)
Version:4.0, 4.1, 5.0 OS:Any (*)
Assigned to: Paul DuBois CPU Architecture:Any

[14 Mar 2005 11:31] Hartmut Holzgraefe
Description:
The mysql configuration file is always in /etc, we do not use the

  configure --sysconfdir=...

settings but the FILES list in man/mysql.1.in refers to the configuration file as

  .I @sysconfdir@/my.cnf
  MySQL configuration file

Even if --sysconfdir is not explicitly set it defaults to

  @prefix@/etc

so the mysql manpage we currently distribute with our binaries reads:

  FILES
    /usr/local/mysql/etc/my.cnf
      MySQL configuration file

How to repeat:
man mysql, search for FILES section

Suggested fix:
The easiest way to fix this would be to just change @sysconfdir@ to /etc 
in man/mysql.1.in. But if we ever decide to make use of the --sysconfdir
option we might forget to change the setting in the manpage?
[15 Mar 2005 2:35] Paul DuBois
I changed @sysconfdir@ to /etc.