Bug #53129 mysqld_multi defaults to logging to /usr/share
Submitted: 23 Apr 2010 20:58 Modified: 24 Apr 2010 9:47
Reporter: Ask Bjørn Hansen (Basic Quality Contributor) Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Installing Severity:S3 (Non-critical)
Version:5.1.46 OS:Any
Assigned to: Jocelyn Ramilison CPU Architecture:Any
Tags: qc
Triage: Triaged: D3 (Medium)

[23 Apr 2010 20:58] Ask Bjørn Hansen
Description:
mysqld_multi defaults to logging to /usr/share/mysqld_multi.log.

At least on Linux and OS X that really should be /var/log/mysqld_multi.log

How to repeat:
1) start mysqld_multi with no configuration

2) go look for the log file.

Suggested fix:
s!/usr/share!/var/log!g
[24 Apr 2010 6:39] Sveta Smirnova
Thank you for the report.

In *tar.gz package it is /usr/local/mysql/share which is under mysql tree, so not so critical as in your description. Which package do you use (filename you downloaded)?
[24 Apr 2010 9:37] Ask Bjørn Hansen
The RHEL 5 x86_64 MySQL-server-community RPM.
[24 Apr 2010 9:47] Sveta Smirnova
Thank you for the feedback.

Verified as described using  MySQL-server-community-5.1.46-1.rhel5.x86_64.rpm Logs located in /usr/share by default.
[24 Apr 2010 9:49] Sveta Smirnova
Workaround: indicate location manually. But still this is embarrassing.