Bug #63329 Version mismatch
Submitted: 19 Nov 2011 16:03 Modified: 19 Nov 2011 16:20
Reporter: Peter Laursen (Basic Quality Contributor) Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Server: Packaging Severity:S3 (Non-critical)
Version:5.5.18 OS:Windows (7/64 - likely any)
Assigned to: CPU Architecture:Any

[19 Nov 2011 16:03] Peter Laursen
Description:
1) 
C:\Program Files\MySQL\MySQL Server 5.5\bin>mysql_upgrade P3307 -uroot -p
Enter password: ********
Looking for 'mysql.exe' as: C:\Program Files\MySQL\MySQL Server 5.5\bin\mysql.ex
e
Looking for 'mysqlcheck.exe' as: C:\Program Files\MySQL\MySQL Server 5.5\bin\mys
qlcheck.exe
This installation of MySQL is already upgraded to 5.5.18, use --force if you sti
ll need to run mysql_upgrade

2)
error log: 

111119 16:42:43 [Note] Plugin 'FEDERATED' is disabled.
111119 16:42:43 InnoDB: The InnoDB memory heap is disabled
111119 16:42:43 InnoDB: Mutexes and rw_locks use Windows interlocked functions
111119 16:42:43 InnoDB: Compressed tables use zlib 1.2.3
111119 16:42:43 InnoDB: Initializing buffer pool, size = 106.0M
111119 16:42:43 InnoDB: Completed initialization of buffer pool
111119 16:42:43 InnoDB: highest supported file format is Barracuda.
111119 16:42:44  InnoDB: Waiting for the background threads to start
111119 16:42:45 InnoDB: 1.1.8 started; log sequence number 2962618
111119 16:42:45 [Note] Event Scheduler: Loaded 0 events
111119 16:42:45 [Note] C:\Program Files (x86)\MySQL\MySQL Server 5.5\bin\mysqld: ready for connections.
Version: '5.5.16'  socket: ''  port: 3307  MySQL Community Server (GPL)

3)
SELECT VERSION();
/*
version()
---------
5.5.16   
*/

How to repeat:
See above.
[19 Nov 2011 16:13] Peter Laursen
direct link to file:
ftp://ftp.easynet.be/mysql/Downloads/MySQL-5.5/mysql-5.5.18-winx64.zip
[19 Nov 2011 16:18] Peter Laursen
Please ignore:

SHOW VARIABLES LIKE 'basedir';

/*

Variable_name  Value                                         
-------------  ----------------------------------------------
basedir        C:/Program Files (x86)/MySQL/MySQL Server 5.5/
*/

.. I will just find one more link and update
[19 Nov 2011 16:20] Peter Laursen
Plase forget!

SHOW VARIABLES LIKE 'basedir';
/*

Variable_name  Value                                         
-------------  ----------------------------------------------
basedir        C:/Program Files (x86)/MySQL/MySQL Server 5.5/
*/

So the problem is this (also very stupid and annoying) bug 
http://bugs.mysql.com/bug.php?id=60830