> -----Message d'origine----- > De : Mikael Fridh [mailto:[EMAIL PROTECTED] > Envoyé : Friday, January 16, 2004 4:19 AM > À : Ugo Bellavance > Objet : Re: setting a variable > > > On Thursday 15 January 2004 19.51, Ugo Bellavance wrote: > > > > No problem, I thought I could change any variable at > runtime, since 4.0. > > > > I've got no prob with doing it at a restart of the server. > I tried putting > > > > set-variable = log=on > > > > at the end of /etc/my.cnf (redhat) and nothing changed. > > > > Thanks, > > > > Ugo > > I think it's not a normal variable, it needs to be passed as > a command-line > parameter to mysqld. > in my.cnf put: > > log > > or if you need the logfile in some other dir than the datadir: > > log=/var/log/logfile > > Mikael.
Thanks, I ried the latter, but I didn't have the right permissions on the file, so I tried with just "log", it worked. I then changed my permissions and all went fine. I have another question: why so many people replied to me off-list, without even cc:'ing the list? Thanks, > -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]