Error: MySQL shutdown unexpectedly.

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Error: MySQL shutdown unexpectedly.

Postby iccpdn » 20. April 2015 15:48

I have a similar error:

5:43:28 PM [mysql] Error: MySQL shutdown unexpectedly.
5:43:28 PM [mysql] This may be due to a blocked port, missing dependencies,
5:43:28 PM [mysql] improper privileges, a crash, or a shutdown by another method.
5:43:28 PM [mysql] Press the Logs button to view error logs and check
5:43:28 PM [mysql] the Windows Event Viewer for more clues
5:43:28 PM [mysql] If you need more help, copy and post this
5:43:28 PM [mysql] entire log window on the forums

And the log:

2015-04-20 17:43:26 6864 [Note] Plugin 'FEDERATED' is disabled.
2015-04-20 17:43:26 19d4 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator.
2015-04-20 17:43:26 6864 [Note] InnoDB: Using atomics to ref count buffer pool pages
2015-04-20 17:43:26 6864 [Note] InnoDB: The InnoDB memory heap is disabled
2015-04-20 17:43:26 6864 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2015-04-20 17:43:26 6864 [Note] InnoDB: Memory barrier is not used
2015-04-20 17:43:26 6864 [Note] InnoDB: Compressed tables use zlib 1.2.3
2015-04-20 17:43:26 6864 [Note] InnoDB: Not using CPU crc32 instructions
2015-04-20 17:43:26 6864 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2015-04-20 17:43:26 6864 [Note] InnoDB: Completed initialization of buffer pool
2015-04-20 17:43:26 6864 [Note] InnoDB: Highest supported file format is Barracuda.
2015-04-20 17:43:27 6864 [Note] InnoDB: The log sequence numbers 1665234 and 1665234 in ibdata files do not match the log sequence number 264820691 in the ib_logfiles!
2015-04-20 17:43:27 6864 [Note] InnoDB: Database was not shutdown normally!
2015-04-20 17:43:27 6864 [Note] InnoDB: Starting crash recovery.
2015-04-20 17:43:27 6864 [Note] InnoDB: Reading tablespace information from the .ibd files...
2015-04-20 17:43:27 6864 [Note] InnoDB: Restoring possible half-written data pages
2015-04-20 17:43:27 6864 [Note] InnoDB: from the doublewrite buffer...
2015-04-20 17:43:28 6864 [Note] InnoDB: 128 rollback segment(s) are active.
2015-04-20 17:43:28 6864 [Note] InnoDB: Waiting for purge to start
2015-04-20 17:43:28 6864 [Note] InnoDB: 5.6.20 started; log sequence number 264820691
2015-04-20 17:43:28 6864 [Note] Server hostname (bind-address): '*'; port: 3306
2015-04-20 17:43:28 6864 [Note] IPv6 is available.
2015-04-20 17:43:28 6864 [Note] - '::' resolves to '::';
2015-04-20 17:43:28 6864 [Note] Server socket created on IP: '::'.
2015-04-20 17:43:28 6864 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist

[EDIT by Altrea: splitted from original topic - "One thread per unique user and issue" rule => viewtopic.php?f=16&t=67782]
iccpdn
 
Posts: 1
Joined: 20. April 2015 15:44
Operating System: Windows 7 Enterprise 32 bit

Re: Error: MySQL shutdown unexpectedly.

Postby mark.mcdonald » 20. April 2015 16:46

iccpdn wrote:2015-04-20 17:43:28 6864 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist

Can you recreate this table? I would suggest downloading a fresh copy of xampp and exporting and importing this table if it does not exist. If it does exist please check the privileges compared to a fresh copy of xampp.
mark.mcdonald
 
Posts: 160
Joined: 13. March 2015 15:48
Location: Edmonton
Operating System: Windows Server 2012 R2


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 38 guests