While using the latest MySQL 5.1.20 yesterday I came across another situation that was not expected as with previous editions of MySQL. The background is experimenting with DRBD. When I configured MySQL to startup with a /etc/my.cnf file with data on a DRBD partition I got a failed startup error message with mysqld_safe.
$ bin/mysqld_safe & [1] 12615 070720 10:10:42 mysqld_safe Starting mysqld daemon with databases from /drbd/data 070720 10:10:42 mysqld_safe mysqld from pid file /drbd/data/newyork.localdomain.pid ended
Ok. Well this happens so I went to the data directory to look for `hostname`.err.
$ cd /drbd/data $ ls -l
What the! There is no error log. Then the discussion started about this. Apparently mysqld_safe now uses syslog (e.g. /var/log/messages) for logging messages. Ok, but where is the line between mysqld_safe and mysqld. …
[Read more]