Bug #41394 mysql_upgrade_script does not consider basedir calling mysql_fix_privilege_table
Submitted: 11 Dec 2008 13:56 Modified: 11 Dec 2008 14:58
Reporter: Oli Sennhauser Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server: Command-line Clients Severity:S3 (Non-critical)
Version:5.0.72 OS:Any
Assigned to: CPU Architecture:Any

[11 Dec 2008 13:56] Oli Sennhauser
Description:
Upgrading to mysql 5.0.x with non default basedir fails.

How to repeat:
shell> mysql_upgrade_shell --basedir=/home/mysql/product/mysql-5.0.72 --datadir=/home/mysql/product/mysql-5.0.72/data --verbose
mysql_upgrade already done for this version
Could not find MySQL command-line client (mysql).
Please use --basedir to specify the directory where MySQL is installed.

Suggested fix:
patch attached.
[11 Dec 2008 14:58] Sveta Smirnova
Please do not submit the same bug more than once. An existing bug report already describes this very problem. Even if you feel that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments to the original bug instead.

Thank you for your interest in MySQL.

Duplicate of bug #36558
[11 Dec 2008 14:58] Sveta Smirnova
Btw you forgot to upload the patch.