XAMPP MySQL crashing - mysql

Hopefully someone ca help me out there. Every time I open XAMPP version 3.2.2, MySQL attempts to start but fails and I am greeted with the following message.....
Attempting to start MySQL app...
12:22:43 [mysql] Status change detected: running 12:22:44 [mysql]
Status change detected: stopped 12:22:44 [mysql] Error: MySQL
shutdown unexpectedly. 12:22:44 [mysql] This may be due to a
blocked port, missing dependencies, 12:22:44 [mysql] improper
privileges, a crash, or a shutdown by another method. 12:22:44
[mysql] Press the Logs button to view error logs and check
12:22:44 [mysql] the Windows Event Viewer for more clues 12:22:44
[mysql] If you need more help, copy and post this 12:22:44 [mysql]
entire log window on the forums
Here is the error log for MySQL, I have searched online and have yet to find a solution
2017-02-28 12:16:46 1a28 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.
2017-02-28 12:16:46 6696 [Note] InnoDB:
innodb_empty_free_list_algorithm has been changed to legacy because of
small buffer pool size. In order to use backoff, increase buffer pool
at least up to 20MB.
2017-02-28 12:16:46 6696 [Note] InnoDB: Using mutexes to ref count
buffer pool pages 2017-02-28 12:16:46 6696 [Note] InnoDB: The
InnoDB memory heap is disabled 2017-02-28 12:16:46 6696 [Note]
InnoDB: Mutexes and rw_locks use Windows interlocked functions
2017-02-28 12:16:46 6696 [Note] InnoDB: _mm_lfence() and _mm_sfence()
are used for memory barrier 2017-02-28 12:16:46 6696 [Note]
InnoDB: Compressed tables use zlib 1.2.3 2017-02-28 12:16:46 6696
[Note] InnoDB: Using generic crc32 instructions 2017-02-28
12:16:46 6696 [Note] InnoDB: Initializing buffer pool, size =
16.0M 2017-02-28 12:16:46 6696 [Note] InnoDB: Completed initialization of buffer pool 2017-02-28 12:16:46 6696 [Note]
InnoDB: Restoring page 0 of tablespace 0 2017-02-28 12:16:46 6696
[Warning] InnoDB: Doublewrite does not have page_no=0 of space: 0
2017-02-28 12:16:46 6696 [ERROR] InnoDB: space header page consists of
zero bytes in data file C:\xampp\mysql\data\ibdata1 2017-02-28
12:16:46 6696 [ERROR] InnoDB: Could not open or create the system
tablespace. If you tried to add new data files to the system
tablespace, and it failed here, you should now edit
innodb_data_file_path in my.cnf back to what it was, and remove the
new ibdata files InnoDB created in this failed attempt. InnoDB only
wrote those files full of zeros, but did not yet use them in any way.
But be careful: do not remove old data files which contain your
precious data! 2017-02-28 12:16:46 6696 [ERROR] Plugin 'InnoDB'
init function returned error. 2017-02-28 12:16:46 6696 [ERROR]
Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2017-02-28 12:16:46 6696 [Note] Plugin 'FEEDBACK' is disabled.
2017-02-28 12:16:46 6696 [ERROR] Unknown/unsupported storage engine:
InnoDB 2017-02-28 12:16:46 6696 [ERROR] Aborting

Related

Error: MySQL shutdown unexpectedly - XAMPP

I have trouble running mysql using xampp on a win10 machine.
Here is the xampp message:
Error: MySQL shutdown unexpectedly.
1:33:01 [mysql] This may be due to a blocked port, missing dependencies,
1:33:01 [mysql] improper privileges, a crash, or a shutdown by another method.
1:33:01 [mysql] Press the Logs button to view error logs and check
1:33:01 [mysql] the Windows Event Viewer for more clues
1:33:01 [mysql] If you need more help, copy and post this
1:33:01 [mysql] entire log window on the forums
And this is my mysql.log:
017-10-18 03:52:49 efc 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.
2017-10-18 3:52:49 3836 [Note] InnoDB: innodb_empty_free_list_algorithm has been changed to legacy because of small buffer pool size. In order to use backoff, increase buffer pool at least up to 20MB.
2017-10-18 3:52:49 3836 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2017-10-18 3:52:49 3836 [Note] InnoDB: The InnoDB memory heap is disabled
2017-10-18 3:52:49 3836 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2017-10-18 3:52:49 3836 [Note] InnoDB: _mm_lfence() and _mm_sfence() are used for memory barrier
2017-10-18 3:52:49 3836 [Note] InnoDB: Compressed tables use zlib 1.2.3
2017-10-18 3:52:49 3836 [Note] InnoDB: Using generic crc32 instructions
2017-10-18 3:52:49 3836 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2017-10-18 3:52:49 3836 [Note] InnoDB: Completed initialization of buffer pool
2017-10-18 3:52:49 3836 [Note] InnoDB: Restoring page 0 of tablespace 0
2017-10-18 3:52:49 3836 [Warning] InnoDB: Doublewrite does not have page_no=0 of space: 0
2017-10-18 3:52:49 3836 [ERROR] InnoDB: space header page consists of zero bytes in data file C:\xampp\mysql\data\ibdata1
2017-10-18 3:52:49 3836 [ERROR] InnoDB: Could not open or create the system tablespace. If you tried to add new data files to the system tablespace, and it failed here, you should now edit innodb_data_file_path in my.cnf back to what it was, and remove the new ibdata files InnoDB created in this failed attempt. InnoDB only wrote those files full of zeros, but did not yet use them in any way. But be careful: do not remove old data files which contain your precious data!
2017-10-18 3:52:49 3836 [ERROR] Plugin 'InnoDB' init function returned error.
2017-10-18 3:52:49 3836 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2017-10-18 3:52:49 3836 [Note] Plugin 'FEEDBACK' is disabled.
2017-10-18 3:52:49 3836 [ERROR] Unknown/unsupported storage engine: InnoDB
2017-10-18 3:52:49 3836 [ERROR] Aborting
I have tried reinitilizing mysql data folder, deleting ibdata1, ib_log files from it, without any success.
Any suggestions are much appreciated.
Solved by Install 5.6.35 / PHP 5.6.35 - XAMPP
Have same issue by using windows 10, xampp 7.2.2.
took backup of htdocs projects
uninstalled XAMPP 7.2.x
installed XAMPP 5.6.x
pasted backup projects to htdocs
got Apache port number issue, then change 80 to 8080 in httpd.conf
works fine !
XAMPP MySQL is not running
Solution->
1.Open cmd and type 'services.msc'
2.Service panel will be opened within 5 seconds
3.Now search for anyother sql server which is still running
4.Select all the sql servers and stop them one by one service(There could be more than one)
5.Finally refresh your computer and start MySQL
6.Enjoy
Hope it will run successfully now :=)

XAMPP error with running MySQL

I have problem witch XAMPP. When I try to run MySQL, XAMPP shows this:
12:37:02 [mysql] Error: MySQL shutdown unexpectedly.
12:37:02 [mysql] This may be due to a blocked port, missing dependencies,
12:37:02 [mysql] improper privileges, a crash, or a shutdown by another method.
12:37:02 [mysql] Press the Logs button to view error logs and check
12:37:02 [mysql] the Windows Event Viewer for more clues
12:37:02 [mysql] If you need more help, copy and post this
12:37:02 [mysql] entire log window on the forums
I've changed ports to 3307 in
C:\xampp\mysql\bin\my.ini
and in C:\xampp\php\php.ini to mysql.default_port=3307
mysqli.default_port=3307.
I've also deleted ib_logfile1 in C:\xampp\mysql\data
, but it still doesn't work.
Error logs:
2017-08-17 12:27:00 2050 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.
2017-08-17 12:27:00 8272 [Note] InnoDB: innodb_empty_free_list_algorithm has been changed to legacy because of small buffer pool size. In order to use backoff, increase buffer pool at least up to 20MB. `
2017-08-17 12:27:00 8272 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2017-08-17 12:27:00 8272 [Note] InnoDB: The InnoDB memory heap is disabled
2017-08-17 12:27:00 8272 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2017-08-17 12:27:00 8272 [Note] InnoDB: _mm_lfence() and _mm_sfence() are used for memory barrier
2017-08-17 12:27:00 8272 [Note] InnoDB: Compressed tables use zlib 1.2.3
2017-08-17 12:27:00 8272 [Note] InnoDB: Using generic crc32 instructions
2017-08-17 12:27:00 8272 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2017-08-17 12:27:00 8272 [Note] InnoDB: Completed initialization of buffer pool
2017-08-17 12:27:00 8272 [Note] InnoDB: The first specified data file C:\xampp\mysql\data\ibdata1 did not exist: a new database to be created!
2017-08-17 12:27:00 8272 [Note] InnoDB: Setting file C:\xampp\mysql\data\ibdata1 size to 10 MB
2017-08-17 12:27:00 8272 [ERROR] InnoDB: Cannot create C:\xampp\mysql\data\ib_logfile101
2017-08-17 12:27:00 8272 [ERROR] Plugin 'InnoDB' init function returned error.
2017-08-17 12:27:00 8272 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2017-08-17 12:27:00 8272 [Note] Plugin 'FEEDBACK' is disabled.
2017-08-17 12:27:00 8272 [ERROR] Unknown/unsupported storage engine: InnoDB
2017-08-17 12:27:00 8272 [ERROR] Aborting
Any help is appreciated. Thanks
MySQL is telling you exactly why it cannot start:
[ERROR] InnoDB: Cannot create C:\xampp\mysql\data\ib_logfile101
Hence I suggest the first thing you do is to check that c:\xampp\mysql\data exists and is writeable by the DBMS user.
First stop the service on the xampp control panel,
then click on the red cross on the left to install the service on your computer,
then the icon will become a green tick,
then start the service as administrator.
It should be working alright.
Open the XAMPP control panel and stop the actions.
Open services and go to MySql80.
Stop the service.
Start the service.

Error in Starting the MySQL from XAMPP 3.2.1

I am using XAMPP on my windows machine for PHP and MySQL. Whenever I attempted to the start the MySQL server from the XAMPP Control Panel V3.2.1. Only Apache server is starting and MySQL stops with the following error.
Error: MySQL shutdown unexpectedly.
11:41:12 AM [mysql] This may be due to a blocked port, missing dependencies,
11:41:12 AM [mysql] improper privileges, a crash, or a shutdown by another method.
11:41:12 AM [mysql] Press the Logs button to view error logs and check
11:41:12 AM [mysql] the Windows Event Viewer for more clues
11:41:12 AM [mysql] If you need more help, copy and post this
11:41:12 AM [mysql] entire log window on the forums
Also when I checked my log. I found the following error
2017-05-15 11:48:08 bc8 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.
170515 11:48:08 [Note] InnoDB: Using mutexes to ref count buffer pool pages
170515 11:48:08 [Note] InnoDB: The InnoDB memory heap is disabled
170515 11:48:08 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
170515 11:48:08 [Note] InnoDB: Memory barrier is not used
170515 11:48:08 [Note] InnoDB: Compressed tables use zlib 1.2.3
170515 11:48:08 [Note] InnoDB: Not using CPU crc32 instructions
170515 11:48:08 [Note] InnoDB: Initializing buffer pool, size = 16.0M
170515 11:48:08 [Note] InnoDB: Completed initialization of buffer pool
170515 11:48:08 [Note] InnoDB: Highest supported file format is Barracuda.
170515 11:48:08 [Note] InnoDB: Log scan progressed past the checkpoint lsn 12638736
170515 11:48:08 [Note] InnoDB: Database was not shutdown normally!
170515 11:48:08 [Note] InnoDB: Starting crash recovery.
170515 11:48:08 [Note] InnoDB: Reading tablespace information from the .ibd files...
170515 11:48:08 [Note] InnoDB: Restoring possible half-written data pages
170515 11:48:08 [Note] InnoDB: from the doublewrite buffer...
InnoDB: Doing recovery: scanned up to log sequence number 12638756
170515 11:48:09 [Note] InnoDB: 128 rollback segment(s) are active.
170515 11:48:09 [Note] InnoDB: Waiting for purge to start
170515 11:48:09 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.22-72.0 started; log sequence number 12638756
170515 11:48:09 [Note] Plugin 'FEEDBACK' is disabled.
170515 11:48:09 [Note] Server socket created on IP: '::'.

mySQl in XAMPP wont start (tried changing ports)

So yesterday everything was working fine, but today when I wanted to continue mySQL wouldnt start. Also my laptop shutdown at night if that is relevant. I have tried changing the port to 3307 but it didnt work.
Anyway here is the log
2016-08-19 12:55:09 1b34 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.
160819 12:55:09 [Note] InnoDB: Using mutexes to ref count buffer pool pages
160819 12:55:09 [Note] InnoDB: The InnoDB memory heap is disabled
160819 12:55:09 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
160819 12:55:09 [Note] InnoDB: Memory barrier is not used
160819 12:55:09 [Note] InnoDB: Compressed tables use zlib 1.2.3
160819 12:55:09 [Note] InnoDB: Not using CPU crc32 instructions
160819 12:55:09 [Note] InnoDB: Initializing buffer pool, size = 16.0M
160819 12:55:09 [Note] InnoDB: Completed initialization of buffer pool
160819 12:55:09 [Note] InnoDB: Highest supported file format is Barracuda.
160819 12:55:09 [Note] InnoDB: The log sequence numbers 1665234 and 1665234 in ibdata files do not match the log sequence number 1778208 in the ib_logfiles!
160819 12:55:09 [Note] InnoDB: Database was not shutdown normally!
160819 12:55:09 [Note] InnoDB: Starting crash recovery.
160819 12:55:09 [Note] InnoDB: Reading tablespace information from the .ibd files...
160819 12:55:09 [Note] InnoDB: Restoring possible half-written data pages
160819 12:55:09 [Note] InnoDB: from the doublewrite buffer...
160819 12:55:09 [Note] InnoDB: 128 rollback segment(s) are active.
160819 12:55:09 [Note] InnoDB: Waiting for purge to start
160819 12:55:09 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.22-72.0 started; log sequence number 1778208
160819 12:55:09 [Note] Plugin 'FEEDBACK' is disabled.
160819 12:55:09 [Note] Server socket created on IP: '::'.
And this is what it said in when I tried connecting.
5:10:04 [mysql] Attempting to start MySQL app...
15:10:04 [mysql] Status change detected: running
15:10:04 [mysql] Status change detected: stopped
15:10:04 [mysql] Error: MySQL shutdown unexpectedly.
15:10:04 [mysql] This may be due to a blocked port, missing dependencies,
15:10:04 [mysql] improper privileges, a crash, or a shutdown by another method.
15:10:04 [mysql] Press the Logs button to view error logs and check
15:10:04 [mysql] the Windows Event Viewer for more clues
15:10:04 [mysql] If you need more help, copy and post this
15:10:04 [mysql] entire log window on the forums

XAMPP v3.2.1 - Error: MySQL shutdown unexpectedly

Hi and thanks for helping.
For some reason MySQL is not working on my XAMPP, I run it as administrator in Windows 10 and its not installed on the default "program files" folder. Here is the console error:
17:01:11 [mysql] Error: MySQL shutdown unexpectedly.
17:01:11 [mysql] This may be due to a blocked port, missing dependencies,
17:01:11 [mysql] improper privileges, a crash, or a shutdown by another method.
17:01:11 [mysql] Press the Logs button to view error logs and check
17:01:11 [mysql] the Windows Event Viewer for more clues
17:01:11 [mysql] If you need more help, copy and post this
17:01:11 [mysql] entire log window on the forums
And here is the log:
2015-11-04 17:01:06 25a4 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.
151104 17:01:06 [Note] InnoDB: Using mutexes to ref count buffer pool pages
151104 17:01:06 [Note] InnoDB: The InnoDB memory heap is disabled
151104 17:01:06 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
151104 17:01:06 [Note] InnoDB: Memory barrier is not used
151104 17:01:06 [Note] InnoDB: Compressed tables use zlib 1.2.3
151104 17:01:06 [Note] InnoDB: Not using CPU crc32 instructions
151104 17:01:06 [Note] InnoDB: Initializing buffer pool, size = 16.0M
151104 17:01:06 [Note] InnoDB: Completed initialization of buffer pool
151104 17:01:06 [Note] InnoDB: The first specified data file E:\xampp\mysql\data\ibdata1 did not exist: a new database to be created!
151104 17:01:06 [Note] InnoDB: Setting file E:\xampp\mysql\data\ibdata1 size to 10 MB
151104 17:01:06 [Note] InnoDB: Database physically writes the file full: wait...
151104 17:01:06 [ERROR] InnoDB: Cannot create E:\xampp\mysql\data\ib_logfile101
151104 17:01:06 [ERROR] Plugin 'InnoDB' init function returned error.
151104 17:01:06 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
151104 17:01:06 [Note] Plugin 'FEEDBACK' is disabled.
151104 17:01:06 [ERROR] Unknown/unsupported storage engine: InnoDB
151104 17:01:06 [ERROR] Aborting
151104 17:01:06 [Note] E:\xampp\mysql\bin\mysqld.exe: Shutdown complete
I would appreciate any help, thanks.