In Linux, the convention to read configuration files are from 
/etc/<filename>. 

For example, PHP configuration files are read from /etc/php.ini. 
Similarly , for Apache, configuration files are at /etc/httpd.conf and  
MySQL configuration file  at /etc/my.cnf

In OpenSolaris, the default configuration files reside under 
/etc/<component-name>/<version>

So, Apache or PHP or MySQL configuration file resides under
/etc/apache2/2.2/httpd.conf or /etc/php/5.2/php.ini or  
/etc/mysql/<5.1>/my.cnf

So, reading from /etc/my.cnf would be an exception and we should avoid 
making exceptions unless there is a very good reason to support it.

IMO, we need to stick with the convention laid out by the OS.

- Sriram

Brian Overstreet wrote:
> Should the Webstack MySQL look at /etc/my.cnf location in addition to the 
> default Webstack location?  
>
> Currently, MySQL will look in /etc for configuration in addition to the 
> default 
> Webstack location of /etc/opt/...
>
>
> Thanks,
> Brian
>
> _______________________________________________
>
>
> webstack-discuss mailing list
> webstack-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/webstack-discuss
>   

Reply via email to