[MacPorts] #30678: mysql5 should not read /etc/my.cnf

MacPorts noreply at macports.org
Wed Aug 10 15:00:02 PDT 2011


#30678: mysql5 should not read /etc/my.cnf
-----------------------------------+----------------------------------------
 Reporter:  jeremyhu@…             |       Owner:  ryandesign@…           
     Type:  defect                 |      Status:  new                    
 Priority:  Normal                 |   Milestone:                         
Component:  ports                  |     Version:  2.0.1                  
 Keywords:                         |        Port:  mysql5                 
-----------------------------------+----------------------------------------

Comment(by pixilla@…):

 Replying to [comment:9 jeremyhu@…]:
 > What about editing the startup script to fail to start if
 ${prefix}/etc/my.cnf isn't present?
 This would not be good. There is no documented requirement that ANY my.cnf
 exist.
 > It can print a warning message that uses should create that file.  If
 someone really wants it to use /etc/my.cnf, they can comment that out or
 just use a symlink.
 The mysql option files (my.cnf) are documented by the software authors.
 The MacPorts mysql5 port honors the mysql documentation.

-- 
Ticket URL: <https://trac.macports.org/ticket/30678#comment:10>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list