Bug #12477 mysql_fix_privilege_tables does not use my.cnf exhaustively
Submitted: 10 Aug 2005 1:01 Modified: 7 Dec 2016 15:55
Reporter: Kolbe Kegel Email Updates:
Status: Unsupported Impact on me:
Category:MySQL Server: Installing Severity:S4 (Feature request)
Version:5.0 OS:Linux (Linux)
Assigned to: CPU Architecture:Any
Triage: Triaged: D5 (Feature request)

[10 Aug 2005 1:01] Kolbe Kegel
The mysql_fix_privilege_table script distributed with MySQL binaries does not use options specified in the [mysqld] group of the user's option file.

This results in options such as "socket" being ignored. In this case, the script will use the default, which is not helpful.

How to repeat:
Run ./bin/mysql_fix_privilege_tables from a MySQL installation that has a custom option file and a socket file in the non-default location.

Suggested fix:
Add the "mysqld" group to the my_print_defaults call in the mysql_fix_privilege_tables script.
[24 Aug 2006 19:15] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:


ChangeSet@1.2251, 2006-08-24 12:15:30-07:00, igreenhoe@anubis.greendragongames.com +1 -0
  Fix for bug #12477 (mysql_fix_privilege_tables does not use my.cnf
  Problem:  Missing sections in my_print_defaults command.
  Solution:  Added sections.
[7 Dec 2016 15:55] Yngve Svendsen
Posted by developer:
This relates to EOL (no longer supported) versions of MySQL Server. Thus closing.