PREAMBLE:
Hi. I'm not an IT professional, but a part time IT student, and reasonably competent at Windows OS.
I've just spent about 20 hours trying to troubleshoot the following. Sorry if my description of what I've tried and failed at during that time is unclear. It has been a long battle. I can send screenshots, but I don't see a way to do so with this forum software. I'll post my error log, but I don't see a way to format it in a code block to aid reading.
I would really welcome some advice. There is an urgency, because the deadline for submission of the database is this Friday 30/11/2012.
_______________________________________________________________________________
PROCESS:
I installed MySQL Workbench (v5.2.44) [mysql-workbench-gpl-5.2.44-win32] a few weeks ago. I designed a database in Workbench.
This weekend I installed MySQL Community Server (v5.5.28) [mysql-5.5.28-winx64].
That was unsuccessful, so today, I resorted to uninstalling both of the above and installing MySQL Installer (v5.5.28.3) [mysql-installer-community-5.5.28.3]
_______________________________________________________________________________
PROBLEMS:
[*] I cannot create a server instance.
[*] I also cannot start the service.
If I try through Task Manager, the Windows error says "The operation cannot be completed" and "Access is denied".
If I try through the Services administrator tool, the Windows error is "Windows could not start the MySQL55 service on Local Computer." "Error 1067: The process terminated unexpectedly."
I also tried via the command prompt, the Windows error is "Install/Remove of the Service Denied!"
When I attempted to forward engineer the database at one or more stages, I got an MySQL Workbench error "Object reference not set to an instance of an object".
_______________________________________________________________________________
NOTES:
[!! ** !!] If relevant, I cannot access 127.0.0.1 from a web browser (Firefox or Internet Explorer). [!! ** !!]
My hosts file had the line < 127.0.0.1 localhost > commented out, so I opened it as administrator, uncommented it and saved it.
The installation is on a desktop PC. All installation settings were the default ones proposed by the installer, except on some occasions, for hostname I tried 127.0.0.1 instead of localhost, and also tried "PC4" which is the computer's name.
The location I chose for the DataFile is another user account, where I store all my files (weird, I know, but shouldn't be problem as the adminstrators group has full access).
When installing MySQL Installer (v5.5.28.3) [mysql-installer-community-5.5.28.3] today, I noted that despite uninstalling MySQL Workbench and Server, most of the program appeared to be still in the Program Files directory. I did not check the registry, as I assumed the installer and uninstaller would take care of that properly.
The MySQL service today is called MySQL55 (as suggested by the installer). On the previous installation it was called MySQL. The old service is not visible in Task Manager or Services.
I added "C:\Program Files\MySQL\MySQL Server 5.5\bin" to the Path parameter of my Environmental Variables.
My OS is Windows 7 Ultimate 64 bit.
My user account is an administrator.
I'm using Norton Internet Security 2012 v19.9.0.9
The firewall has not been altered by me. I can give full details if required.
_______________________________________________________________________________
ERROR LOG:
NB: Despite Uninstallation, this seems to have entries from yesterday's fiasco too (which may be a blessing in disguise to someone who can interpret them).
The installation log is also available, but it is 180 pages long!
121124 17:43:43 [Note] Plugin 'FEDERATED' is disabled.
121124 17:43:43 InnoDB: The InnoDB memory heap is disabled
121124 17:43:43 InnoDB: Mutexes and rw_locks use Windows interlocked functions
121124 17:43:43 InnoDB: Compressed tables use zlib 1.2.3
121124 17:43:43 InnoDB: Initializing buffer pool, size = 107.0M
121124 17:43:43 InnoDB: Completed initialization of buffer pool
InnoDB: The first specified data file D:\Users\U6\Documents\TECH - DEVELOPMENT\MYSQL DATAFILES\ibdata1 did not exist:
InnoDB: a new database to be created!
121124 17:43:43 InnoDB: Setting file D:\Users\U6\Documents\TECH - DEVELOPMENT\MYSQL DATAFILES\ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
121124 17:43:43 InnoDB: Log file .\ib_logfile0 did not exist: new to be created
InnoDB: Setting log file .\ib_logfile0 size to 54 MB
InnoDB: Database physically writes the file full: wait...
121124 17:43:43 InnoDB: Log file .\ib_logfile1 did not exist: new to be created
InnoDB: Setting log file .\ib_logfile1 size to 54 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: 127 rollback segment(s) active.
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
121124 17:43:44 InnoDB: Waiting for the background threads to start
121124 17:43:45 InnoDB: 1.1.8 started; log sequence number 0
121124 17:43:45 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
121124 17:43:45 [Note] - '0.0.0.0' resolves to '0.0.0.0';
121124 17:43:45 [Note] Server socket created on IP: '0.0.0.0'.
121124 17:43:45 [Note] Event Scheduler: Loaded 0 events
121124 17:43:45 [Note] C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqld: ready for connections.
Version: '5.5.28' socket: '' port: 3306 MySQL Community Server (GPL)
121124 18:42:13 [Note] C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqld: Normal shutdown
121124 18:42:13 [Note] Event Scheduler: Purging the queue. 0 events
121124 18:42:13 InnoDB: Starting shutdown...
121124 18:42:14 InnoDB: Shutdown completed; log sequence number 1595675
121124 18:42:14 [Note] C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqld: Shutdown complete
121124 18:46:35 [Note] Plugin 'FEDERATED' is disabled.
121124 18:46:35 InnoDB: The InnoDB memory heap is disabled
121124 18:46:35 InnoDB: Mutexes and rw_locks use Windows interlocked functions
121124 18:46:35 InnoDB: Compressed tables use zlib 1.2.3
121124 18:46:35 InnoDB: Initializing buffer pool, size = 107.0M
121124 18:46:35 InnoDB: Completed initialization of buffer pool
121124 18:46:35 InnoDB: highest supported file format is Barracuda.
121124 18:46:35 InnoDB: Waiting for the background threads to start
121124 18:46:36 InnoDB: 1.1.8 started; log sequence number 1595675
121124 18:46:36 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
121124 18:46:36 [Note] - '0.0.0.0' resolves to '0.0.0.0';
121124 18:46:36 [Note] Server socket created on IP: '0.0.0.0'.
121124 18:46:36 [Note] Event Scheduler: Loaded 0 events
121124 18:46:36 [Note] C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqld: ready for connections.
Version: '5.5.28' socket: '' port: 3306 MySQL Community Server (GPL)
121124 20:52:23 [Note] C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqld: Normal shutdown
121124 20:52:23 [Note] Event Scheduler: Purging the queue. 0 events
121124 20:52:23 InnoDB: Starting shutdown...
121124 20:52:23 InnoDB: Shutdown completed; log sequence number 1595675
121124 20:52:23 [Note] C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqld: Shutdown complete
121124 20:52:52 [Note] Plugin 'FEDERATED' is disabled.
121124 20:52:52 InnoDB: The InnoDB memory heap is disabled
121124 20:52:52 InnoDB: Mutexes and rw_locks use Windows interlocked functions
121124 20:52:52 InnoDB: Compressed tables use zlib 1.2.3
121124 20:52:52 InnoDB: Initializing buffer pool, size = 107.0M
121124 20:52:52 InnoDB: Completed initialization of buffer pool
121124 20:52:52 InnoDB: highest supported file format is Barracuda.
121124 20:52:52 InnoDB: Waiting for the background threads to start
121124 20:52:53 InnoDB: 1.1.8 started; log sequence number 1595675
121124 20:52:53 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
121124 20:52:53 [Note] - '0.0.0.0' resolves to '0.0.0.0';
121124 20:52:53 [Note] Server socket created on IP: '0.0.0.0'.
121124 20:52:53 [Note] Event Scheduler: Loaded 0 events
121124 20:52:53 [Note] C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqld: ready for connections.
Version: '5.5.28' socket: '' port: 3306 MySQL Community Server (GPL)
121124 22:27:46 [Note] C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqld: Normal shutdown
121124 22:27:46 [Note] Event Scheduler: Purging the queue. 0 events
121124 22:27:46 InnoDB: Starting shutdown...
121124 22:27:46 InnoDB: Shutdown completed; log sequence number 1595675
121124 22:27:46 [Note] C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqld: Shutdown complete
121124 22:50:58 [Note] Plugin 'FEDERATED' is disabled.
121124 22:50:58 InnoDB: The InnoDB memory heap is disabled
121124 22:50:58 InnoDB: Mutexes and rw_locks use Windows interlocked functions
121124 22:50:58 InnoDB: Compressed tables use zlib 1.2.3
121124 22:50:58 InnoDB: Initializing buffer pool, size = 107.0M
121124 22:50:58 InnoDB: Completed initialization of buffer pool
InnoDB: The first specified data file .\ibdata1 did not exist:
InnoDB: a new database to be created!
121124 22:50:58 InnoDB: Setting file .\ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
121124 22:50:58 InnoDB: Error: all log files must be created at the same time.
121124 22:50:58 InnoDB: All log files must be created also in database creation.
121124 22:50:58 InnoDB: If you want bigger or smaller log files, shut down the
121124 22:50:58 InnoDB: database and make sure there were no errors in shutdown.
121124 22:50:58 InnoDB: Then delete the existing log files. Edit the .cnf file
121124 22:50:58 InnoDB: and start the database again.
121124 22:50:58 [ERROR] Plugin 'InnoDB' init function returned error.
121124 22:50:58 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
121124 22:50:58 [ERROR] Unknown/unsupported storage engine: INNODB
121124 22:50:58 [ERROR] Aborting
121124 22:50:58 [Note] C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqld: Shutdown complete
121124 23:01:45 [Note] Plugin 'FEDERATED' is disabled.
121124 23:01:45 InnoDB: The InnoDB memory heap is disabled
121124 23:01:45 InnoDB: Mutexes and rw_locks use Windows interlocked functions
121124 23:01:45 InnoDB: Compressed tables use zlib 1.2.3
121124 23:01:45 InnoDB: Initializing buffer pool, size = 107.0M
121124 23:01:45 InnoDB: Completed initialization of buffer pool
121124 23:01:45 InnoDB: highest supported file format is Barracuda.
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
121124 23:01:45 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
121124 23:01:45 InnoDB: Assertion failure in thread 1856 in file fsp0fsp.c line 2102
InnoDB: Failing assertion: inode
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to
http://bugs.mysql.com.
InnoDB: If you get repeated assertion failures or crashes, even
InnoDB: immediately after the mysqld startup, there may be
InnoDB: corruption in the InnoDB tablespace. Please refer to
InnoDB:
http://dev.mysql.com/doc/refman/5.5/en/forcing-innodb-recovery.html
InnoDB: about forcing recovery.
121124 23:03:04 [Note] Plugin 'FEDERATED' is disabled.
121124 23:03:04 InnoDB: The InnoDB memory heap is disabled
121124 23:03:04 InnoDB: Mutexes and rw_locks use Windows interlocked functions
121124 23:03:04 InnoDB: Compressed tables use zlib 1.2.3
121124 23:03:04 InnoDB: Initializing buffer pool, size = 107.0M
121124 23:03:04 InnoDB: Completed initialization of buffer pool
121124 23:03:04 InnoDB: highest supported file format is Barracuda.
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
121124 23:03:04 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
121124 23:03:04 InnoDB: Assertion failure in thread 2024 in file fsp0fsp.c line 2102
InnoDB: Failing assertion: inode
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to
http://bugs.mysql.com.
InnoDB: If you get repeated assertion failures or crashes, even
InnoDB: immediately after the mysqld startup, there may be
InnoDB: corruption in the InnoDB tablespace. Please refer to
InnoDB:
http://dev.mysql.com/doc/refman/5.5/en/forcing-innodb-recovery.html
InnoDB: about forcing recovery.
121124 23:07:51 [Note] Plugin 'FEDERATED' is disabled.
121124 23:07:51 InnoDB: The InnoDB memory heap is disabled
121124 23:07:51 InnoDB: Mutexes and rw_locks use Windows interlocked functions
121124 23:07:51 InnoDB: Compressed tables use zlib 1.2.3
121124 23:07:51 InnoDB: Initializing buffer pool, size = 107.0M
121124 23:07:51 InnoDB: Completed initialization of buffer pool
121124 23:07:51 InnoDB: highest supported file format is Barracuda.
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
121124 23:07:51 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
121124 23:07:51 InnoDB: Assertion failure in thread 2248 in file fsp0fsp.c line 2102
InnoDB: Failing assertion: inode
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to
http://bugs.mysql.com.
InnoDB: If you get repeated assertion failures or crashes, even
InnoDB: immediately after the mysqld startup, there may be
InnoDB: corruption in the InnoDB tablespace. Please refer to
InnoDB:
http://dev.mysql.com/doc/refman/5.5/en/forcing-innodb-recovery.html
InnoDB: about forcing recovery.
121125 21:19:24 [Note] Plugin 'FEDERATED' is disabled.
121125 21:19:24 InnoDB: The InnoDB memory heap is disabled
121125 21:19:24 InnoDB: Mutexes and rw_locks use Windows interlocked functions
121125 21:19:24 InnoDB: Compressed tables use zlib 1.2.3
121125 21:19:24 InnoDB: Initializing buffer pool, size = 326.0M
121125 21:19:24 InnoDB: Completed initialization of buffer pool
InnoDB: Error: log file .\ib_logfile0 is of different size 0 56623104 bytes
InnoDB: than specified in the .cnf file 0 171966464 bytes!
121125 21:19:24 [ERROR] Plugin 'InnoDB' init function returned error.
121125 21:19:24 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
121125 21:19:24 [ERROR] Unknown/unsupported storage engine: INNODB
121125 21:19:24 [ERROR] Aborting
121125 21:19:24 [Note] C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqld: Shutdown complete
121125 21:44:40 [Note] Plugin 'FEDERATED' is disabled.
121125 21:44:40 InnoDB: The InnoDB memory heap is disabled
121125 21:44:40 InnoDB: Mutexes and rw_locks use Windows interlocked functions
121125 21:44:40 InnoDB: Compressed tables use zlib 1.2.3
121125 21:44:40 InnoDB: Initializing buffer pool, size = 312.0M
121125 21:44:40 InnoDB: Completed initialization of buffer pool
InnoDB: Error: log file .\ib_logfile0 is of different size 0 56623104 bytes
InnoDB: than specified in the .cnf file 0 164626432 bytes!
121125 21:44:40 [ERROR] Plugin 'InnoDB' init function returned error.
121125 21:44:40 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
121125 21:44:40 [ERROR] Unknown/unsupported storage engine: INNODB
121125 21:44:40 [ERROR] Aborting
121125 21:44:40 [Note] C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqld: Shutdown complete
_______________________________________________________________________________