Bug #384 man page error for mysql_fix_privilege_tables
Submitted: 6 May 2003 12:52 Modified: 14 May 2003 3:42
Reporter: Christian Hammers (Silver Quality Contributor) (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Documentation Severity:S3 (Non-critical)
Version:4.0.12 OS:
Assigned to: Jani Tolonen CPU Architecture:Any
Triage: D4 (Minor)

[6 May 2003 12:52] Christian Hammers
Description:
This is from the Debian bug tracking system.
http://bugs.debian.org/191776
-------------------------------------------------------------
Quoth the manpage:

	For more information start the program with '--help'.

However, mysql_fix_privilege_tables doesn't recognize --help, so you get
tons of error messages instead. :(

The manpage also says:

	If you get 'Access denied' errors, you should run this script
	again and give the MySQL root user password as an argument!

I had to take a peek at the script to figure out how I was supposed to
pass the root password.  This line could easily be purged by making the
synopsis more accurate, like:

	mysql_fix_privilege_tables [mysql_root_password]

Or something.  It now becomes obvious, which is a good thing in a
manpage.  (And you get to keep the manpage free of exclamation points!,
which is also a good thing.)

How to repeat:
[14 May 2003 3:42] Jani Tolonen
Fixed.

Regards,
Jani