Bug #28417 --help failures

Submitted: 14 May 2007 15:07 Modified: 26 Aug 2010 21:06
Reporter: Domas Mituzas Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server: Options Severity:S3 (Non-critical)
Version:5.1-bk OS:Any
Assigned to: Marc ALFF CPU Architecture:Any

[14 May 2007 15:07] Domas Mituzas
Description:
mysqld --help and mysqld --help --verbose fail in multiple conditions:

- ran by root user and --user not specified
- log-bin specified and directory unreachable or file cannot be created (permission denied, not existing, etc)

How to repeat:
run mysqld --help:

flute:~ midom$ mysqld --help
070514 18:07:28 [Warning] Can't create test file /usr/local/mysql-max-5.1-bk-20060217/var/flute.lower-test
070514 18:07:28 [Warning] Can't create test file /usr/local/mysql-max-5.1-bk-20060217/var/flute.lower-test
mysqld: Can't change dir to '/usr/local/mysql-max-5.1-bk-20060217/var/' (Errcode: 13)
070514 18:07:28 [Warning] No argument was provided to --log-bin, and --log-bin-index was not used; so replication may break when this MySQL server acts as a master and has his hostname changed!! Please use '--log-bin=/usr/local/mysql-max-5.1-bk-20060217/var/flute-bin' to avoid this problem.
mysqld: File '/usr/local/mysql-max-5.1-bk-20060217/var/flute-bin.index' not found (Errcode: 13)
070514 18:07:28 [ERROR] Aborting

070514 18:07:28 [Note] mysqld: Shutdown complete

Suggested fix:
..
[20 Sep 2007 11:16] Geert Vanderkelen
Verified using latest 5.1bk (Sep 2007) and CGE versions.
[26 Aug 2010 21:06] Marc ALFF
Duplicate of bug#30025

Normally, the earlier bug is kept and the older ones are closed,
but bug#30025 is where the patch / discussion is,
so closing this report.

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

Page generated in 0.039 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.