Bug #22551 mysql_upgrade.exe can't find mysqlcheck under Win32
Submitted: 21 Sep 2006 16:03 Modified: 21 Sep 2006 16:15
Reporter: Christopher Hill Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version:5.0.24a OS:Windows (Windows Server 2003)
Assigned to: CPU Architecture:Any

[21 Sep 2006 16:03] Christopher Hill
Description:
I was trying to use the new mysql_upgrade.exe executable under Win32, using the following command line:

"C:\Program Files\MySQL\MySQL Server 5.0\bin\mysql_upgrade.exe" --basedir="C:\Program Files\MySQL\MySQL Server 5.0"

I received the following error:

'Can't find program 'C:\Program Files\MySQL\MySQL Server 5.0\bin\mysqlcheck'
Please restart with --basedir=mysql-install-directory'

The file 'C:\Program Files\MySQL\MySQL Server 5.0\bin\mysqlcheck.exe' exists - but did someone forget that under Win32 executables have '.exe' on the end of their filenames?

The PATH statement already includes 'C:\Program Files\MySQL\MySQL Server 5.0\bin' so that shouldn't be the problem

How to repeat:
Try running the new mysql_upgrade.exe under Win32
[21 Sep 2006 16:15] MySQL Verification Team
Thank you for the bug report. Duplicate of bug:

http://bugs.mysql.com/bug.php?id=20950