XAMPP MySQL shuts down unexpectedly. I was trying to enable the configuration storage settings earlier, turned my PC off, and returned to this. I have uninstalled and reinstalled XAMPP within the past couple of days, changed port numbers to apache and setup a password.
I've deleted the ibdata1, ib_logfile0, and the ib_logfile1 files, and changes the port numbers to the my.ini and php.ini files.
Help would be appreciated.
2015-11-10 17:40:54 418 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.
151110 17:40:54 [Note] InnoDB: Using mutexes to ref count buffer pool pages
151110 17:40:54 [Note] InnoDB: The InnoDB memory heap is disabled
151110 17:40:54 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
151110 17:40:54 [Note] InnoDB: Memory barrier is not used
151110 17:40:54 [Note] InnoDB: Compressed tables use zlib 1.2.3
151110 17:40:54 [Note] InnoDB: Not using CPU crc32 instructions
151110 17:40:54 [Note] InnoDB: Initializing buffer pool, size = 16.0M
151110 17:40:54 [Note] InnoDB: Completed initialization of buffer pool
151110 17:40:54 [Note] InnoDB: Restoring page 0 of tablespace 0
151110 17:40:54 [Warning] InnoDB: Doublewrite does not have page_no=0 of space: 0
151110 17:40:54 [ERROR] InnoDB: space header page consists of zero bytes in data file C:\xampp\mysql\data\ibdata1
151110 17:40:54 [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!
151110 17:40:54 [ERROR] Plugin 'InnoDB' init function returned error.
151110 17:40:54 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
151110 17:40:54 [Note] Plugin 'FEEDBACK' is disabled.
151110 17:40:54 [ERROR] Unknown/unsupported storage engine: InnoDB
151110 17:40:54 [ERROR] Aborting
151110 17:40:54 [Note] c:\xampp\mysql\bin\mysqld.exe: Shutdown complete
Related
my MySQL Database on XAMPP 7.1.7 is not running anymore. I tried numerous solutions proposed in this post MySQL Database won't start in XAMPP Manager-osx but with no luck so far. Here's what I’ve tried:
sudo /Applications/XAMPP/xamppfiles/bin/mysql.server start ->
Terminal simply states „ERROR!“
sudo killall mysqld -> Terminal states „No matching processes were found“
changing the MySQL port from 3306 to 3307 in the XAMPP Control Panel -> no change
killing all active mysql processes in Monitor Activity tool -> couldn’t find any active processes named „mysql“ or „sql“
Clearly I don’t know what the problem and it feels I’m just randomly trying out every solution I stumple upon.
So I am posting below my log files from xamppfiles/var/mysql/[mycomputername].home.err.
Maybe there's an indication in here of what the problem might be?
2018-04-02 20:05:21 140735637578560 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2018-04-02 20:05:21 140735637578560 [Note] InnoDB: The InnoDB memory heap is disabled
2018-04-02 20:05:21 140735637578560 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2018-04-02 20:05:21 140735637578560 [Note] InnoDB: GCC builtin __sync_synchronize() is used for memory barrier
2018-04-02 20:05:21 140735637578560 [Note] InnoDB: Compressed tables use zlib 1.2.8
2018-04-02 20:05:21 140735637578560 [Note] InnoDB: Using SSE crc32 instructions
2018-04-02 20:05:21 140735637578560 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2018-04-02 20:05:21 140735637578560 [Note] InnoDB: Completed initialization of buffer pool
2018-04-02 20:05:21 140735637578560 [Note] InnoDB: Restoring page 0 of tablespace 0
2018-04-02 20:05:21 140735637578560 [Warning] InnoDB: Doublewrite does not have page_no=0 of space: 0
2018-04-02 20:05:21 140735637578560 [ERROR] InnoDB: space header page consists of zero bytes in data file /Applications/XAMPP/xamppfiles/var/mysql/ibdata1
2018-04-02 20:05:21 140735637578560 [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!
2018-04-02 20:05:21 140735637578560 [ERROR] Plugin 'InnoDB' init function returned error.
2018-04-02 20:05:21 140735637578560 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2018-04-02 20:05:21 140735637578560 [Note] Plugin 'FEEDBACK' is disabled.
2018-04-02 20:05:21 140735637578560 [ERROR] Unknown/unsupported storage engine: InnoDB
2018-04-02 20:05:21 140735637578560 [ERROR] Aborting
2018-04-02 20:05:21 29871 mysqld_safe mysqld from pid file /Applications/XAMPP/xamppfiles/var/mysql/josephs-imac.home.pid ended
Any help would be highly appreciated :-)
When I open XAMPP and click start MySQL button and it gives me an error I had it started just before but now it isn't working
Here is the errors from log file please help me out.
2017-08-01 23:43:15 2790 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-01 23:43:15 10128 [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-01 23:43:15 10128 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2017-08-01 23:43:15 10128 [Note] InnoDB: The InnoDB memory heap is disabled
2017-08-01 23:43:15 10128 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2017-08-01 23:43:15 10128 [Note] InnoDB: _mm_lfence() and _mm_sfence() are used for memory barrier
2017-08-01 23:43:15 10128 [Note] InnoDB: Compressed tables use zlib 1.2.3
2017-08-01 23:43:15 10128 [Note] InnoDB: Using generic crc32 instructions
2017-08-01 23:43:15 10128 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2017-08-01 23:43:15 10128 [Note] InnoDB: Completed initialization of buffer pool
2017-08-01 23:43:15 10128 [Note] InnoDB: Restoring page 0 of tablespace 0
2017-08-01 23:43:15 10128 [Warning] InnoDB: Doublewrite does not have page_no=0 of space: 0
2017-08-01 23:43:15 10128 [ERROR] InnoDB: space header page consists of zero bytes in data file C:\xampp\mysql\data\ibdata1
2017-08-01 23:43:15 10128 [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-08-01 23:43:15 10128 [ERROR] Plugin 'InnoDB' init function returned error.
2017-08-01 23:43:15 10128 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2017-08-01 23:43:15 10128 [Note] Plugin 'FEEDBACK' is disabled.
2017-08-01 23:43:15 10128 [ERROR] Unknown/unsupported storage engine: InnoDB
2017-08-01 23:43:15 10128 [ERROR] Aborting
based on this answer
XAMPP - MySQL shutdown unexpectedly
exit Xampp server
go to your C:\xampp\mysql\data directory
delete the ibdata1 file
restart xampp server
It should work
Our database shutdown last night and i cannot figure out why i just did a service restart to get everything backup, we are running a c4.large so quite a big box outputting the mysql error log is below.
160526 23:27:31 [Note] Plugin 'FEDERATED' is disabled.
160526 23:27:31 InnoDB: The InnoDB memory heap is disabled
160526 23:27:31 InnoDB: Mutexes and rw_locks use GCC atomic builtins
160526 23:27:31 InnoDB: Compressed tables use zlib 1.2.8
160526 23:27:31 InnoDB: Using Linux native AIO
160526 23:27:31 InnoDB: Initializing buffer pool, size = 128.0M
InnoDB: mmap(137363456 bytes) failed; errno 12
160526 23:27:31 InnoDB: Completed initialization of buffer pool
160526 23:27:31 InnoDB: Fatal error: cannot allocate memory for the buffer pool
160526 23:27:31 [ERROR] Plugin 'InnoDB' init function returned error.
160526 23:27:31 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
160526 23:27:31 [ERROR] Unknown/unsupported storage engine: InnoDB
160526 23:27:31 [ERROR] Aborting
160526 23:27:31 [Note] /usr/libexec/mysql55/mysqld: Shutdown complete
Can someone help me with this error i see the fatal error cannot allocate memory for buffer pool but not sure what this means or how to fix?
Also what may have caused this?
Thanks
After googling a bit i have added
innodb_buffer_pool_size = 20M
to my.cnf is this a solid fix?
I tried shutting down XAMPP and deleting the ibdata1 already. Yesterday the server did still work, but when starting up today it didn't start anymore. I'm using the server for a PHP project using PHPMyAdmin.
This is the error log from XAMPP:
2016-05-26 09:07:29 15a0 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.
160526 9:07:29 [Note] InnoDB: Using mutexes to ref count buffer pool pages
160526 9:07:29 [Note] InnoDB: The InnoDB memory heap is disabled
160526 9:07:29 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
160526 9:07:29 [Note] InnoDB: Memory barrier is not used
160526 9:07:29 [Note] InnoDB: Compressed tables use zlib 1.2.3
160526 9:07:29 [Note] InnoDB: Not using CPU crc32 instructions
160526 9:07:29 [Note] InnoDB: Initializing buffer pool, size = 16.0M
160526 9:07:29 [Note] InnoDB: Completed initialization of buffer pool
160526 9:07:29 [Note] InnoDB: Restoring page 0 of tablespace 0
160526 9:07:29 [Warning] InnoDB: Doublewrite does not have page_no=0 of space: 0
160526 9:07:29 [ERROR] InnoDB: space header page consists of zero bytes in data file C:\xampp\mysql\data\ibdata1
160526 9:07:29 [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!
160526 9:07:29 [ERROR] Plugin 'InnoDB' init function returned error.
160526 9:07:29 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
160526 9:07:29 [Note] Plugin 'FEEDBACK' is disabled.
160526 9:07:29 [ERROR] Unknown/unsupported storage engine: InnoDB
160526 9:07:29 [ERROR] Aborting
160526 9:07:29 [Note] c:\xampp\mysql\bin\mysqld.exe: Shutdown complete`
I am running 2 locally hosted wp sites for testing on my Win 7 pc. Unfortunately windows update did a update install and reboot last night while wamp was online.
Usually I can fix this myself, but I am having no luck. After about 6 hours of search for a resolution I turn to you wonderful people.
PROBLEM: Orange Icon.
PhpMyAdmin error #2002
Here is my error log:
2014-02-25 13:12:44 4420 [Note] Plugin 'FEDERATED' is disabled
2014-02-25 13:12:44 4420 [Note] InnoDB: The InnoDB memory heap is disabled
2014-02-25 13:12:44 4420 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2014-02-25 13:12:44 4420 [Note] InnoDB: Compressed tables use zlib 1.2.3
2014-02-25 13:12:44 4420 [Note] InnoDB: Not using CPU crc32 instructions
2014-02-25 13:12:44 4420 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2014-02-25 13:12:44 4420 [Note] InnoDB: Completed initialization of buffer pool
2014-02-25 13:12:44 4420 [Note] InnoDB: Highest supported file format is Barracuda.
2014-02-25 13:12:44 4420 [Note] InnoDB: The log sequence numbers 12054850 and 12054850 in ibdata files do not match the log sequence number 12746597 in the ib_logfiles!
2014-02-25 13:12:44 4420 [Note] InnoDB: Database was not shutdown normally!
2014-02-25 13:12:44 4420 [Note] InnoDB: Starting crash recovery.
2014-02-25 13:12:44 4420 [Note] InnoDB: Reading tablespace information from the .ibd files...
2014-02-25 13:12:44 4420 [ERROR] InnoDB: Attempted to open a previously opened tablespace. Previous tablespace dlkei4n83xuf/rvcommentmeta uses space ID: 11 at filepath: .\dlkei4n83xuf\rvcommentmeta.ibd. Cannot open tablespace test/rvscommentmeta which uses space ID: 11 at filepath: .\test\rvscommentmeta.ibd
InnoDB: Error: could not open single-table tablespace file .\test\rvscommentmeta.ibd
InnoDB: We do not continue the crash recovery, because the table may become
InnoDB: corrupt if we cannot apply the log records in the InnoDB log to it.
InnoDB: To fix the problem and start mysqld:
InnoDB: 1) If there is a permission problem in the file and mysqld cannot
InnoDB: open the file, you should modify the permissions.
InnoDB: 2) If the table is not needed, or you can restore it from a backup,
InnoDB: then you can remove the .ibd file, and InnoDB will do a normal
InnoDB: crash recovery and ignore that table.
InnoDB: 3) If the file system or the disk is broken, and you cannot remove
InnoDB: the .ibd file, you can set innodb_force_recovery > 0 in my.cnf
InnoDB: and force InnoDB to continue crash recovery here.