On Wed, Feb 1, 2012 at 9:59 PM, upen <[email protected]> wrote: > On Wed, Feb 1, 2012 at 2:49 PM, Peter Bonivart <[email protected]> wrote: >> On Wed, Feb 1, 2012 at 9:38 PM, upen <[email protected]> wrote: >>> Hi, I just installed mysql5 using opencsw's pkgutil. >>> >>> Mysql is running but I don't know where my.cnf for this installation. >>> I'd like to add log=/var/opt/csw/mysql5/mysql.log into it to log sql >>> queries and restart it. Can someone please help? >> >> You should put my.cnf in /etc/opt/csw. That's the default conf dir for >> OpenCSW packages. > > > Thanks Peter. I did /opt/csw/mysql5/my-small.cnf /opt/csw/etc/my.cnf > and restated mysql. I added a line in the new cnf file : > log=/var/opt/csw/mysql5/mysql.log befre restart. However I don't have > anything in mysql.log, wonder why..I did mysql-u root from other > terminal and connected to MySQL and ran a few commands. > > Makes me wonder if it is really using new cnf file or not.
My guess is it does not. Did you read my post? /peter _______________________________________________ users mailing list [email protected] https://lists.opencsw.org/mailman/listinfo/users
