mysql keeps crashing using xampp - mysql

Any help would be appreciated - please see below log
2016-08-02 12:12:15 8d4 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.
160802 12:12:15 [Note] InnoDB: Using mutexes to ref count buffer pool pages
160802 12:12:15 [Note] InnoDB: The InnoDB memory heap is disabled
160802 12:12:15 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
160802 12:12:15 [Note] InnoDB: Memory barrier is not used
160802 12:12:15 [Note] InnoDB: Compressed tables use zlib 1.2.3
160802 12:12:15 [Note] InnoDB: Not using CPU crc32 instructions
160802 12:12:15 [Note] InnoDB: Initializing buffer pool, size = 16.0M
160802 12:12:15 [Note] InnoDB: Completed initialization of buffer pool
160802 12:12:15 [Note] InnoDB: Highest supported file format is Barracuda.
160802 12:12:15 [Note] InnoDB: The log sequence numbers 1665234 and 1665234 in ibdata files do not match the log sequence number 19045911905 in the ib_logfiles!
160802 12:12:15 [Note] InnoDB: Database was not shutdown normally!
160802 12:12:15 [Note] InnoDB: Starting crash recovery.
160802 12:12:15 [Note] InnoDB: Reading tablespace information from the .ibd files...
160802 12:12:15 [Note] InnoDB: Restoring possible half-written data pages
160802 12:12:15 [Note] InnoDB: from the doublewrite buffer...
160802 12:12:16 [ERROR] InnoDB: We scanned the log up to 19045911552. A checkpoint was at 19045911905 and the maximum LSN on a database page was 0. It is possible that the database is now corrupt!
160802 12:12:17 [Note] InnoDB: 128 rollback segment(s) are active.
160802 12:12:17 [Note] InnoDB: Waiting for purge to start
160802 12:12:17 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.22-72.0 started; log sequence number 19045911905
160802 12:12:17 [Note] Plugin 'FEEDBACK' is disabled.
160802 12:12:17 [Note] Server socket created on IP: '::'.

Related

Error: MySQL shutdown unexpectedly after starting mysql service in xampp

Sorry for my English. I have some problem in starting mysql service on Xampp control panel. I follow the steps from this site https://gist.github.com/odan/c799417460470c3776ffa8adce57eece because I want use mysql as type server on phpmyadmin and not mariadb as a default.
I followed those steps once and it worked but because of some reasons I had to unistall Xampp and mysql server, and now I can't start it. I've already read some questions but none of them helped me at all.
The error that appear at console is:
20:12:28 [mysql] Error: MySQL shutdown unexpectedly.
20:12:28 [mysql] This may be due to a blocked port, missing dependencies,
20:12:28 [mysql] improper privileges, a crash, or a shutdown by another method.
20:12:28 [mysql] Press the Logs button to view error logs and check
20:12:28 [mysql] the Windows Event Viewer for more clues
20:12:28 [mysql] If you need more help, copy and post this
20:12:28 [mysql] entire log window on the forums
The error log is:
2015-11-10 15:26:56 10fc 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-11-10 15:26:56 4348 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2015-11-10 15:26:56 4348 [Note] InnoDB: The InnoDB memory heap is disabled
2015-11-10 15:26:56 4348 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2015-11-10 15:26:56 4348 [Note] InnoDB: Memory barrier is not used
2015-11-10 15:26:56 4348 [Note] InnoDB: Compressed tables use zlib 1.2.3
2015-11-10 15:26:56 4348 [Note] InnoDB: Not using CPU crc32 instructions
2015-11-10 15:26:56 4348 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2015-11-10 15:26:56 4348 [Note] InnoDB: Completed initialization of buffer pool
2015-11-10 15:26:56 4348 [Note] InnoDB: Highest supported file format is Barracuda.
2015-11-10 15:26:57 4348 [Note] InnoDB: 128 rollback segment(s) are active.
2015-11-10 15:26:57 4348 [Note] InnoDB: Waiting for purge to start
2015-11-10 15:26:57 4348 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.26-74.0 started; log sequence number 1835027
2015-11-10 15:26:57 6140 [Note] InnoDB: Dumping buffer pool(s) not yet started
2015-11-10 15:26:57 4348 [Note] Plugin 'FEEDBACK' is disabled.
2015-11-10 15:26:57 4348 [Note] Server socket created on IP: '::'.
2015-11-10 15:26:57 4348 [Note] Event Scheduler: Loaded 0 events
2015-11-10 15:26:57 4348 [Note] C:\xampp\mysql\bin\mysqld.exe: ready for connections.
Version: '10.1.8-MariaDB' socket: '' port: 3306 mariadb.org binary distribution
2015-11-10 15:27:11 5152 [Note] C:\xampp\mysql\bin\mysqld.exe: Normal shutdown
2015-11-10 15:27:11 5152 [Note] Event Scheduler: Purging the queue. 0 events
2015-11-10 15:27:11 5732 [Note] InnoDB: FTS optimize thread exiting.
2015-11-10 15:27:11 5152 [Note] InnoDB: Starting shutdown...
2015-11-10 15:27:13 5152 [Note] InnoDB: Shutdown completed; log sequence number 1835037
2015-11-10 15:27:13 5152 [Note] C:\xampp\mysql\bin\mysqld.exe: Shutdown complete
2018-06-10 18:38:54 30a8 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.
2018-06-10 18:38:54 12456 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2018-06-10 18:38:54 12456 [Note] InnoDB: The InnoDB memory heap is disabled
2018-06-10 18:38:54 12456 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2018-06-10 18:38:54 12456 [Note] InnoDB: Memory barrier is not used
2018-06-10 18:38:54 12456 [Note] InnoDB: Compressed tables use zlib 1.2.3
2018-06-10 18:38:54 12456 [Note] InnoDB: Using generic crc32 instructions
2018-06-10 18:38:54 12456 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2018-06-10 18:38:54 12456 [Note] InnoDB: Completed initialization of buffer pool
2018-06-10 18:38:54 12456 [Note] InnoDB: Highest supported file format is Barracuda.
2018-06-10 18:38:56 12456 [Note] InnoDB: 128 rollback segment(s) are active.
2018-06-10 18:38:56 12456 [Note] InnoDB: Waiting for purge to start
2018-06-10 18:38:56 12456 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.28-76.1 started; log sequence number 1835037
2018-06-10 18:38:56 12624 [Note] InnoDB: Dumping buffer pool(s) not yet started
2018-06-10 18:38:56 12456 [Note] Plugin 'FEEDBACK' is disabled.
2018-06-10 18:38:56 12456 [Note] Server socket created on IP: '::'.
2018-06-10 18:38:56 12456 [Note] c:\xampp\mysql\bin\mysqld.exe: ready for connections.
Version: '10.1.13-MariaDB' socket: '' port: 3306 mariadb.org binary distribution
2018-06-10 18:41:15 12648 [Note] c:\xampp\mysql\bin\mysqld.exe: Normal shutdown
2018-06-10 18:41:15 12648 [Note] Event Scheduler: Purging the queue. 0 events
2018-06-10 18:41:16 12632 [Note] InnoDB: FTS optimize thread exiting.
2018-06-10 18:41:16 12648 [Note] InnoDB: Starting shutdown...
2018-06-10 18:41:17 12648 [Note] InnoDB: Shutdown completed; log sequence number 1836500
2018-06-10 18:41:17 12648 [Note] c:\xampp\mysql\bin\mysqld.exe: Shutdown complete
2018-06-10 18:41:27 31fc 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.
2018-06-10 18:41:27 12796 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2018-06-10 18:41:27 12796 [Note] InnoDB: The InnoDB memory heap is disabled
2018-06-10 18:41:27 12796 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2018-06-10 18:41:27 12796 [Note] InnoDB: Memory barrier is not used
2018-06-10 18:41:27 12796 [Note] InnoDB: Compressed tables use zlib 1.2.3
2018-06-10 18:41:27 12796 [Note] InnoDB: Using generic crc32 instructions
2018-06-10 18:41:27 12796 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2018-06-10 18:41:27 12796 [Note] InnoDB: Completed initialization of buffer pool
2018-06-10 18:41:27 12796 [Note] InnoDB: Highest supported file format is Barracuda.
2018-06-10 18:41:28 12796 [Note] InnoDB: 128 rollback segment(s) are active.
2018-06-10 18:41:28 12796 [Note] InnoDB: Waiting for purge to start
2018-06-10 18:41:28 12796 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.28-76.1 started; log sequence number 1836500
2018-06-10 18:41:28 14076 [Note] InnoDB: Dumping buffer pool(s) not yet started
2018-06-10 18:41:28 12796 [Note] Plugin 'FEEDBACK' is disabled.
2018-06-10 18:41:28 12796 [Note] Server socket created on IP: '::'.
2018-06-10 18:41:29 12796 [Note] c:\xampp\mysql\bin\mysqld.exe: ready for connections.
Version: '10.1.13-MariaDB' socket: '' port: 3306 mariadb.org binary distribution
2018-06-10 18:41:49 13408 [Note] c:\xampp\mysql\bin\mysqld.exe: Normal shutdown
2018-06-10 18:41:49 13408 [Note] Event Scheduler: Purging the queue. 0 events
2018-06-10 18:41:49 13876 [Note] InnoDB: FTS optimize thread exiting.
2018-06-10 18:41:49 13408 [Note] InnoDB: Starting shutdown...
2018-06-10 18:41:50 13408 [Note] InnoDB: Shutdown completed; log sequence number 1836510
2018-06-10 18:41:50 13408 [Note] c:\xampp\mysql\bin\mysqld.exe: Shutdown complete
I will be very grateful if someone can help me.

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 is not opening from XAMPP and shows the following error

XAMPP shows the following errors in the log file when it attempts to start:
2017-04-26 11:19:09 af4 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.
170426 11:19:09 [Note] InnoDB: Started in read only mode
170426 11:19:09 [Note] InnoDB: Using mutexes to ref count buffer pool pages
170426 11:19:09 [Note] InnoDB: The InnoDB memory heap is disabled
170426 11:19:09 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
170426 11:19:09 [Note] InnoDB: Memory barrier is not used
170426 11:19:09 [Note] InnoDB: Compressed tables use zlib 1.2.3
170426 11:19:09 [Note] InnoDB: Not using CPU crc32 instructions
170426 11:19:09 [Note] InnoDB: Disabling background IO write threads.
170426 11:19:09 [Note] InnoDB: Initializing buffer pool, size = 16.0M
170426 11:19:09 [Note] InnoDB: Completed initialization of buffer pool
170426 11:19:09 [Note] InnoDB: Highest supported file format is Barracuda.
170426 11:19:09 [Note] InnoDB: The log sequence numbers 0 and 0 in ibdata files do not match the log sequence number 66856037668 in the ib_logfiles!
170426 11:19:09 [ERROR] InnoDB: Can't initiate database recovery, running in read-only-mode.
170426 11:19:09 [ERROR] Plugin 'InnoDB' init function returned error.
170426 11:19:09 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
170426 11:19:09 [Note] Plugin 'FEEDBACK' is disabled.
170426 11:19:09 [ERROR] Unknown/unsupported storage engine: InnoDB
170426 11:19:09 [ERROR] Aborting
170426 11:19:09 [Note] d:\xampp\mysql\bin\mysqld.exe: Shutdown complete

MySQL is malfunctioning

My xampp has been malfunctioning, whenever I start mysql it runs until it suddenly kills itself. it says that a port is blocked. In advance,Thankyou for your help!
The error_log.txt is as follows:
2017-02-10 10:33:58 3748 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2017-02-10 10:33:58 3748 [Note] InnoDB: The InnoDB memory heap is disabled
2017-02-10 10:33:58 3748 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2017-02-10 10:33:58 3748 [Note] InnoDB: Memory barrier is not used
2017-02-10 10:33:58 3748 [Note] InnoDB: Compressed tables use zlib 1.2.3
2017-02-10 10:33:58 3748 [Note] InnoDB: Using generic crc32 instructions
2017-02-10 10:33:58 3748 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2017-02-10 10:33:58 3748 [Note] InnoDB: Completed initialization of buffer pool
2017-02-10 10:33:58 3748 [Note] InnoDB: Highest supported file format is Barracuda.
2017-02-10 10:33:58 3748 [Note] InnoDB: The log sequence numbers 5936616 and 5936616 in ibdata files do not match the log sequence number 5936626 in the ib_logfiles!
2017-02-10 10:33:58 3748 [Note] InnoDB: Database was not shutdown normally!
2017-02-10 10:33:58 3748 [Note] InnoDB: Starting crash recovery.
2017-02-10 10:33:58 3748 [Note] InnoDB: Reading tablespace information from the .ibd files...
2017-02-10 10:33:58 3748 [Note] InnoDB: Restoring possible half-written data pages
2017-02-10 10:33:58 3748 [Note] InnoDB: from the doublewrite buffer...
2017-02-10 10:33:59 3748 [Note] InnoDB: 128 rollback segment(s) are active.
2017-02-10 10:33:59 3748 [Note] InnoDB: Waiting for purge to start
2017-02-10 10:33:59 3748 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.30-76.3 started; log sequence number 5936626
2017-02-10 10:33:59 7116 [Note] InnoDB: Dumping buffer pool(s) not yet started
2017-02-10 10:34:00 3748 [Note] Plugin 'FEEDBACK' is disabled.
2017-02-10 10:34:00 3748 [Note] Server socket created on IP: '::'.
2017-02-10 10:34:00 3748 [ERROR] Can't start server: Bind on TCP/IP port. Got error: 10048: Only one usage of each socket address (protocol/network address/port) is normally permitted.
2017-02-10 10:34:00 3748 [ERROR] Do you already have another mysqld server running on port: 3306 ?
2017-02-10 10:34:00 3748 [ERROR] Aborting

mysql xampp cannot turn on suddenly

i have been trying to turn on mysql on xampp but it wouldn't turn on. i went to mysql logs and to the errorlog file and here are the things they gave.
2015-11-23 10:54:20 d274 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.
151123 10:54:20 [Note] InnoDB: Using mutexes to ref count buffer pool pages
151123 10:54:20 [Note] InnoDB: The InnoDB memory heap is disabled
151123 10:54:20 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
151123 10:54:20 [Note] InnoDB: Memory barrier is not used
151123 10:54:20 [Note] InnoDB: Compressed tables use zlib 1.2.3
151123 10:54:20 [Note] InnoDB: Not using CPU crc32 instructions
151123 10:54:20 [Note] InnoDB: Initializing buffer pool, size = 16.0M
151123 10:54:20 [Note] InnoDB: Completed initialization of buffer pool
151123 10:54:20 [Note] InnoDB: Highest supported file format is Barracuda.
151123 10:54:20 [Note] InnoDB: Log scan progressed past the checkpoint lsn 1735623
151123 10:54:20 [Note] InnoDB: Database was not shutdown normally!
151123 10:54:20 [Note] InnoDB: Starting crash recovery.
151123 10:54:20 [Note] InnoDB: Reading tablespace information from the .ibd files...
151123 10:54:20 [Note] InnoDB: Restoring possible half-written data pages
151123 10:54:20 [Note] InnoDB: from the doublewrite buffer...
InnoDB: Doing recovery: scanned up to log sequence number 1735633
151123 10:54:20 [Note] InnoDB: 128 rollback segment(s) are active.
151123 10:54:20 [Note] InnoDB: Waiting for purge to start
151123 10:54:20 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.22-72.0 started; log sequence number 1735633
151123 10:54:20 [Note] Plugin 'FEEDBACK' is disabled.
151123 10:54:20 [Note] Server socket created on IP: '::'.
The log seems ok for me. Maybe you have permission problem, try (right click) run as Administrator the Xampp
try check your active port, maybe used by another program. Mysql use 3306 as default port. go to your xampp folder try find "portcheck.exe" or something like that. see if your mysql port used or free.