That is intentional.  I want to write the log to a non-standard location.

Thanks!
C


fire9 wrote:
> Colin,
> hi, so I think your mysql account doesn't have access /var/log/
> directory Permission.
>
>
> Yours,
> fire9
> ÔÚ 2009-2-13£¬ÉÏÎç1:02£¬ csego...@gmail.com
> <mailto:csego...@gmail.com> дµÀ£º
>
>> In the process of installing MySQL 5.1.31, I receive the following error
>> when I attempt to start mysqld_safe:
>>
>> 090212 10:57:40 mysqld_safe Logging to '/var/log/mysqld.log'.
>> 090212 10:57:40 mysqld_safe Starting mysqld daemon with databases from
>> /app/mysql/data
>> /app/mysql/bin/mysqld_safe: line 96: /var/log/mysqld.log: Permission
>> denied
>> /app/mysql/bin/mysqld_safe: line 133: /var/log/mysqld.log: Permission
>> denied
>> 090212 10:57:40 mysqld_safe mysqld from pid file
>> /var/run/mysqld/mysqld.pid ended
>> /app/mysql/bin/mysqld_safe: line 96: /var/log/mysqld.log: Permission
>> denied
>>
>>
>> My my.cnf file reads:
>>
>> # The MySQL server
>> [mysqld]
>> port            = 3306
>> socket          = /tmp/mysql.sock
>> skip-locking
>> key_buffer = 16M
>> max_allowed_packet = 1M
>> table_cache = 64
>> sort_buffer_size = 512K
>> net_buffer_length = 8K
>> read_buffer_size = 256K
>> read_rnd_buffer_size = 512K
>> myisam_sort_buffer_size = 8M
>> datadir = /app/mysql/data
>> #data_file_path = /app/mysql/data
>> general_log = 1
>> general_log_file = /app/mysql/log/
>> socket = /app/mysql/var/mysql.sock
>> log-error = /app/mysql/log/error.log
>>
>> I thought the general_log_file variable would define the location of the
>> log file, yet mysqld is trying to write the log file to a different
>> directory.  Does anyone have any suggestions on how to fix this?
>>
>> Thanks!
>> Colin
>>
>> -- 
>> MySQL General Mailing List
>> For list archives: http://lists.mysql.com/mysql
>> To unsubscribe:
>>    http://lists.mysql.com/mysql?unsub=fire9di...@gmail.com
>>
>


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/mysql?unsub=arch...@jab.org

Reply via email to