[bug-notifications] [mysql5 0004971]: MySQL 5.5 ignores correct elements in the configuration file (and a fix)

Mantis Bug Tracker noreply at opencsw.org
Tue Jul 3 17:42:38 CEST 2012


The following issue has been SUBMITTED. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=4971 
====================================================================== 
Reported By:                laurent
Assigned To:                
====================================================================== 
Project:                    mysql5
Issue ID:                   4971
Category:                   regular use
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-07-03 17:42 CEST
Last Modified:              2012-07-03 17:42 CEST
====================================================================== 
Summary:                    MySQL 5.5 ignores correct elements in the
configuration file (and a fix)
Description: 
I have added configuration elements in the /etc/opt/csw/my.cnf files that
are ignored:

[mysqld]
datadir               = /path/to/mysql5
pid-file              = /path/to/mysql5/mysql.pid

[mysqld_safe]
log-error             = /path/to/mysqld.err

Other elements in the same files are properly taken into account, so the
file itself is read properly. On further investigation, it appears that
those elements are in fact handled by the start script.
The current svc-cswmysql5 method is based on a script that is too old and
does not take those into account. Workaround seems to be using a mysql5rc
file that is sourced in the method script, but this is awkward, as the
MySQL documentation doesn't point to those.
======================================================================



More information about the bug-notifications mailing list