Hi,
I'm installing MySQL 5.1.51 x64 MSI on a new windows server 2008 R2 enterprise production machine (I've never done that with windows before).
At first I installed and ran the server instance config wizard, which managed to pass configuring the my.ini file and freezing. It turned out that it probably couldn't start the service, because when I tried to run the service it failed without giving any good reason (nor was there a .err file to be found).
I figured maybe the special config I gave it through it off so I removed the instance and tried all defaults. Same result.
Went back to my tweaked config and attempted to run from CLI.
This time something happened:
101025 15:45:04 [Note] Plugin 'FEDERATED' is disabled.
mysqld: Table 'mysql.plugin' doesn't exist
101025 15:45:04 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
InnoDB: The first specified data file F:\MySQL Datafiles\ibdata1 did not exist:
InnoDB: a new database to be created!
101025 15:45:05 InnoDB: Setting file F:\MySQL Datafiles\ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
101025 15:45:05 InnoDB: Log file .\ib_logfile0 did not exist: new to be created
InnoDB: Setting log file .\ib_logfile0 size to 123 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Progress in MB: 100
101025 15:45:07 InnoDB: Log file .\ib_logfile1 did not exist: new to be created
InnoDB: Setting log file .\ib_logfile1 size to 123 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Progress in MB: 100
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
101025 15:45:08 InnoDB: Started; log sequence number 0 0
101025 15:45:08 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
There are a bunch of other attempts with maybe slightly varying logs, but the gist is eventually it can't find stuff on mysql db and asks me to run mysql_upgrade.
So what's next?
Any ideas?
I'm installing MySQL 5.1.51 x64 MSI on a new windows server 2008 R2 enterprise production machine (I've never done that with windows before).
At first I installed and ran the server instance config wizard, which managed to pass configuring the my.ini file and freezing. It turned out that it probably couldn't start the service, because when I tried to run the service it failed without giving any good reason (nor was there a .err file to be found).
I figured maybe the special config I gave it through it off so I removed the instance and tried all defaults. Same result.
Went back to my tweaked config and attempted to run from CLI.
This time something happened:
101025 15:45:04 [Note] Plugin 'FEDERATED' is disabled.
mysqld: Table 'mysql.plugin' doesn't exist
101025 15:45:04 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
InnoDB: The first specified data file F:\MySQL Datafiles\ibdata1 did not exist:
InnoDB: a new database to be created!
101025 15:45:05 InnoDB: Setting file F:\MySQL Datafiles\ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
101025 15:45:05 InnoDB: Log file .\ib_logfile0 did not exist: new to be created
InnoDB: Setting log file .\ib_logfile0 size to 123 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Progress in MB: 100
101025 15:45:07 InnoDB: Log file .\ib_logfile1 did not exist: new to be created
InnoDB: Setting log file .\ib_logfile1 size to 123 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Progress in MB: 100
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
101025 15:45:08 InnoDB: Started; log sequence number 0 0
101025 15:45:08 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
There are a bunch of other attempts with maybe slightly varying logs, but the gist is eventually it can't find stuff on mysql db and asks me to run mysql_upgrade.
So what's next?
Any ideas?