hi...

i'm trying to run mysql on a fedora core 5, system to allow the log bin
files to be created.

i have the following my.cnf file:

-----------------------------------
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
max_connections=3
#log-error = /var/log/mysql_err.log
#set-variable = log=/var/log/mysql_query.log
log-bin = /var/log/mysql/mysql_bin.log
#set-variable = log-slow-queries=/var/log/mysql_slow.log
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1

[mysql.server]
user=mysql
#basedir=/var/lib
basedir=/usr


[mysqld_safe]
err-log=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
------------------------------------------

when i run /etc/init.d/mysql start, it dies, and i get an error stating that
the mysql_bin.index isn't found: (the mysqld.log file)

071208 11:09:25  mysqld started
/usr/libexec/mysqld: File '/var/log/mysql/mysql_bin.index' not found
(Errcode: 13)
071208 11:09:25 [ERROR] Aborting

if i comment out the log-bin line in the my.cnf file, mysql starts/runs, but
i don't get the log bin files.

if i run mysqld-safe --log-bin, it apparently creates the log bin files...

i can't find the error that i see above when i search the 'net...

basically, i'm looking to be able to test using the log bin files for backup
purposes.

any thought/ideas...

thanks

-tom



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

Reply via email to