Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2004

    After rotation mysql don't write mysqld.log


    we have set logrotate for rotate mysqld.log daily

    file is compress, deleted and created from logrotate
    but mysql not write anything

    Any idea about why ?

    We need server tuning for improve mass mailing list. Please send PM if have knowledge

  2. #2
    Join Date
    Mar 2008

    Give a special account enough privileges to flush, then create a .my.cnf file with the password for that special account in it, and you can script it to run shortly after your log rotate job.

    Hope that helps.

    Edit: MySQL might also re-open log files after receiving a hangup signal (SIGHUP, or kill -1) but I can't confirm that. Give that a shot first, it'll be much easier to script.
    I used to run the oldest commercial Mumble host.

Similar Threads

  1. MySQL and eximstats failed. No mysqld pid file found.
    By JerryGHB in forum Hosting Security and Technology
    Replies: 2
    Last Post: 09-22-2004, 12:41 PM
  2. Replies: 13
    Last Post: 08-26-2002, 02:38 PM
  3. Looking for Someone to write php/mysql Server Status Script
    By Sean in forum Employment / Job Offers
    Replies: 15
    Last Post: 06-13-2002, 05:39 PM
  4. Will write PHP/MySQL stuff for free
    By {F}allen in forum Employment / Job Offers
    Replies: 1
    Last Post: 03-25-2002, 03:21 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts