Hi,

On Dec 8, 2007 3:44 PM, bruce <[EMAIL PROTECTED]> wrote:
> 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)

$ perror 13
OS error code  13:  Permission denied

Check group and user permissions for the directory.

Baron

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

Reply via email to