Bug #53129 mysqld_multi defaults to logging to /usr/share

Submitted: 23 Apr 2010 20:58 Modified: 24 Apr 2010 9:47
Reporter: Ask 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: Assigned Account CPU Architecture:Any
Tags: qc

[23 Apr 2010 20:58] Ask 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 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.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.053 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.