I'm rebuilding my development environment after an upgrade from Windows XP to Windows 7. I've installed the 64-bit MySQL Community Server, v5.5.17, and I'm trying to get it to work with my previous database.
When I try to start the MySQL service it fails, and I get this in the error log:
111030 12:50:00 [Note] Plugin 'FEDERATED' is disabled.
C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqld: Table 'mysql.plugin' doesn't exist
111030 12:50:00 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
That's fairly clear. But when I ran mysql_upgrade, I got this:
Looking for 'mysql.exe' as: C:\Program Files\MySQL\MySQL Server 5.5\bin\mysql.exe
Looking for 'mysqlcheck.exe' as: C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqlcheck.exe
Running 'mysqlcheck' with connection arguments: "--port=3306"
C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqlcheck.exe: Got error: 2003: Can't connect to MySQL server on 'localhost' (10061) when trying to connect
FATAL ERROR: Upgrade failed
It looks like I can't run mysql_upgrade until I start mysql.
The documentation for mysql_upgrade (http://dev.mysql.com/doc/refman/5.5/en/mysql-upgrade.html) confirms this: "To use mysql_upgrade, make sure that the server is running, and then..."
But I can't start MySQL until I upgrade the database, and I have to run mysql_upgrade to upgrade the database.
How am I to proceed?
When I try to start the MySQL service it fails, and I get this in the error log:
111030 12:50:00 [Note] Plugin 'FEDERATED' is disabled.
C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqld: Table 'mysql.plugin' doesn't exist
111030 12:50:00 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
That's fairly clear. But when I ran mysql_upgrade, I got this:
Looking for 'mysql.exe' as: C:\Program Files\MySQL\MySQL Server 5.5\bin\mysql.exe
Looking for 'mysqlcheck.exe' as: C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqlcheck.exe
Running 'mysqlcheck' with connection arguments: "--port=3306"
C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqlcheck.exe: Got error: 2003: Can't connect to MySQL server on 'localhost' (10061) when trying to connect
FATAL ERROR: Upgrade failed
It looks like I can't run mysql_upgrade until I start mysql.
The documentation for mysql_upgrade (http://dev.mysql.com/doc/refman/5.5/en/mysql-upgrade.html) confirms this: "To use mysql_upgrade, make sure that the server is running, and then..."
But I can't start MySQL until I upgrade the database, and I have to run mysql_upgrade to upgrade the database.
How am I to proceed?