The usage of --defaults-file is undocumented in the man

Bug #779670 reported by Simon Déziel
4
Affects Status Importance Assigned to Milestone
mysql-5.5 (Ubuntu)
Fix Released
Low
Unassigned
mysql-dfsg-5.1 (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

The --defaults-file option of MySQL is not mentioned in the mysql(1) man page. Maybe this is because it's something specific to Debian and derivatives. In any case, this option is very useful and should be at least mentioned in the man page IMHO.

Tags: upstream
Revision history for this message
Chuck Short (zulcss) wrote :

Which version are you using?

Regards
chuck

Changed in mysql-dfsg-5.1 (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Simon Déziel (sdeziel) wrote :

@Chuck,

Completely forgot about this. I noticed this on Lucid but this is also affecting Natty.

Lucid:
# lsb_release -rd
Description: Ubuntu 10.04.2 LTS
Release: 10.04

# apt-cache policy mysql-server-core-5.1
mysql-server-core-5.1:
  Installed: 5.1.41-3ubuntu12.10
  Candidate: 5.1.41-3ubuntu12.10
  Version table:
 *** 5.1.41-3ubuntu12.10 0
        500 http://ubuntu.mirror.iweb.ca/ lucid-updates/main Packages
        100 /var/lib/dpkg/status
     5.1.41-3ubuntu12.7 0
        500 http://ubuntu.mirror.iweb.ca/ lucid-security/main Packages
     5.1.41-3ubuntu12 0
        500 http://ubuntu.mirror.iweb.ca/ lucid/main Packages

Natty:
$ lsb_release -rd
Description: Ubuntu 11.04
Release: 11.04

$ apt-cache policy mysql-server-core-5.1
mysql-server-core-5.1:
  Installed: 5.1.54-1ubuntu4
  Candidate: 5.1.54-1ubuntu4
  Version table:
 *** 5.1.54-1ubuntu4 0
        500 http://ca.archive.ubuntu.com/ubuntu/ natty/main amd64 Packages
        100 /var/lib/dpkg/status

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for mysql-dfsg-5.1 (Ubuntu) because there has been no activity for 60 days.]

Changed in mysql-dfsg-5.1 (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Simon Déziel (sdeziel) wrote :

I have provided the information required by Chuck so I'm setting the status to new again. Let me know if other information is needed.

Changed in mysql-dfsg-5.1 (Ubuntu):
status: Expired → New
Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Hi Simon, actually mysql.1 comes from upstream. This remains undocumented in that man page. It also isn't documented in the upstream manual:

http://dev.mysql.com/doc/refman/5.5/en/mysql-command-options.html

But it is referenced at the top as something that is shared among many utilities, and a link is here:

http://dev.mysql.com/doc/refman/5.5/en/option-files.html#option-file-options

So while this is not the most awesome reference, it is suggested in the "SEE ALSO" in the bottom of the man page.

I'm going to mark this as Confirmed / Low. This needs to be forwarded upstream, and ideally a new man page of mysql_defaults_options should be created and referenced from all the other man pages.

Changed in mysql-dfsg-5.1 (Ubuntu):
status: New → Confirmed
tags: added: upstream
Changed in mysql-5.5 (Ubuntu):
status: New → Confirmed
importance: Undecided → Low
Simon Déziel (sdeziel)
Changed in mysql-5.5 (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Simon Déziel (sdeziel) wrote :

This has long been fixed.

Changed in mysql-dfsg-5.1 (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.