Hi Dan,

There are a number of different variables that can be set. eg. log_bin
etc. These can be set on the command line as 
--log_bin=<file path> or alternately can be set in your my.cnf file as
log_bin=<file path>

The complete set of variables can be found in the manual in section
5.2.3 System Server Variables. If you look on the mysql website you will
get the latest and greatest version.

HTH

Regards


David Logan
Database Administrator
HP Managed Services
148 Frome Street,
Adelaide 5000
Australia

+61 8 8408 4273 - Work
+61 417 268 665 - Mobile
+61 8 8408 4259 - Fax


-----Original Message-----
From: Dan Stromberg [mailto:[EMAIL PROTECTED] 
Sent: Friday, 5 November 2004 10:15 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Not putting logs in /var/log?


Is there a configure option to tell mysql not to put logs in /var/log? 
I don't want to run mysql as root if I can avoid it, and my /var/log
directory requires root access.

I tried using --localstatedir=$HOME/mysql-state, but that didn't help.

I determined that mysql wouldn't start up correctly because it couldn't
write to /var/log, by using strace.

I'm doing this on a Fedora Core 2 system, and the version of MySQL I'm
looking at is 4.0.20.  Is this a reasonably current version of MySQL? 
I'm getting it as part of a bugzilla-building script called
"bugzilla-installer".

Thanks!

-- 


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to