I can't run xampp - MySQL shutdown unexpectedly - php

I have two version of xampp in my Laptop version 7(good and working) and xampp that not working v5.6.28. I tried a lot of tweaks, I changed the port mysql.ini, httpd, etc. Deleting not important files in mysql data. Can anyone please help me this problem.
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
Sometimes it stacked up at "attempting to start mysql app..." and sometimes this error occur.
Error: MySQL shutdown unexpectedly.
2:43:47 PM [mysql] This may be due to a blocked port, missing dependencies,
2:43:47 PM [mysql] improper privileges, a crash, or a shutdown by another method.
2:43:47 PM [mysql] Press the Logs button to view error logs and check
2:43:47 PM [mysql] the Windows Event Viewer for more clues
2:43:47 PM [mysql] If you need more help, copy and post this
2:43:47 PM [mysql] entire log window on the forums

you can use wamp server it`s alternative of xampp and you can run both php 5.6 and php7
in new version
http://www.wampserver.com/en/

Related

Cannot start xampp mysql server (already change port other than 3306)

I try starting the xampp mysql service and i failed. I already disable mysql service in the windows service panel and i change the ports 3306 to 3309 in the my.ini file.
# The following options will be passed to all MySQL clients
[client]
# password = your_password
port = 3309 // change here
socket = "C:/xampp/mysql/mysql.sock"
# Here follows entries for some specific programs
# The MySQL server
[mysqld]
port= 3309 // change here
socket = "C:/xampp/mysql/mysql.sock"
basedir = "C:/xampp/mysql"
tmpdir = "C:/xampp/tmp"
datadir = "C:/xampp/mysql/data"
pid_file = "mysql.pid"
# enable-named-pipe
key_buffer = 16M
max_allowed_packet = 1M
sort_buffer_size = 512K
net_buffer_length = 8K
read_buffer_size = 256K
read_rnd_buffer_size = 512K
myisam_sort_buffer_size = 8M
log_error = "mysql_error.log"
However, it stills say that
5:56:19 PM [mysql] Problem detected!
5:56:19 PM [mysql] Port 3306 in use by "C:\mysql_community_server\bin\mysqld MySQL"!
5:56:19 PM [mysql] MySQL WILL NOT start without the configured ports free!
5:56:19 PM [mysql] You need to uninstall/disable/reconfigure the blocking application
5:56:19 PM [mysql] or reconfigure MySQL and the Control Panel to listen on a different port
Logs:
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
Question:
Why I change to port 3309 and it is still connecting to the port 3306?
I already disable other mysql service so even though it is 3306 and it should still able to connect

MySql On XAMPP Shutdown unexpectedly

I just start mysql but there is some error. I have config my.cnf and descrease innodb_buffer_pool_size to 64 MB but nothing happend.
/*this showed in xampp*/
9:34:39 AM [mysql] Error: MySQL shutdown unexpectedly.
9:34:39 AM [mysql] This may be due to a blocked port, missing dependencies,
9:34:39 AM [mysql] improper privileges, a crash, or a shutdown by another method.
9:34:39 AM [mysql] Press the Logs button to view error logs and check
9:34:39 AM [mysql] the Windows Event Viewer for more clues
9:34:39 AM [mysql] If you need more help, copy and post this
9:34:39 AM [mysql] entire log window on the forums
then i see to the mysql error log. it shows.
/*this showed in error log*/
2016-05-19 00:34:02 3968 [Note] Plugin 'FEDERATED' is disabled.
2016-05-19 00:34:02 c4c 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.
2016-05-19 00:34:02 3968 [Note] InnoDB: Using atomics to ref count buffer pool pages
2016-05-19 00:34:02 3968 [Note] InnoDB: The InnoDB memory heap is disabled
2016-05-19 00:34:02 3968 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2016-05-19 00:34:02 3968 [Note] InnoDB: Memory barrier is not used
2016-05-19 00:34:02 3968 [Note] InnoDB: Compressed tables use zlib 1.2.3
2016-05-19 00:34:02 3968 [Note] InnoDB: Not using CPU crc32 instructions
2016-05-19 00:34:02 3968 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2016-05-19 00:34:02 3968 [Note] InnoDB: Completed initialization of buffer pool
2016-05-19 00:34:02 3968 [Note] InnoDB: Highest supported file format is Barracuda.
2016-05-19 00:34:02 3968 [Note] InnoDB: 128 rollback segment(s) are active.
2016-05-19 00:34:02 3968 [Note] InnoDB: Waiting for purge to start
2016-05-19 00:34:02 3968 [Note] InnoDB: 5.6.24 started; log sequence number 1665234
2016-05-19 00:34:02 3968 [Note] Server hostname (bind-address): '*'; port: 3306
2016-05-19 00:34:02 3968 [Note] IPv6 is available.
2016-05-19 00:34:02 3968 [Note] - '::' resolves to '::';
2016-05-19 00:34:02 3968 [Note] Server socket created on IP: '::'.
2016-05-19 00:53:44 2936 [Note] Plugin 'FEDERATED' is disabled.
how should i fix it?

Mysql and wamp does not works together

When Mysql service starts wampmysqld service doesnot works and when wampmysqld service works mysql service stops what should i do. I want use mysql database for php and i m on wamp server.
Mysql log file shows following error(I Googled a lot but nothing
`2016-01-29 19:32:53 6032 [Note] Plugin 'FEDERATED' is disabled.
2016-01-29 19:32:53 6032 [Note] InnoDB: Using atomics to ref count bufferpool pages
2016-01-29 19:32:53 6032 [Note] InnoDB: The InnoDB memory heap is disabled
2016-01-29 19:32:53 6032 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2016-01-29 19:32:53 6032 [Note] InnoDB: Compressed tables use zlib 1.2.3
2016-01-29 19:32:53 6032 [Note] InnoDB: Not using CPU crc32 instructions
2016-01-29 19:32:53 6032 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2016-01-29 19:32:53 6032 [Note] InnoDB: Completed initialization of buffer pool
2016-01-29 19:32:53 6032 [Note] InnoDB: Highest supported file format is Barracuda.
2016-01-29 19:32:54 6032 [Note] InnoDB: 128 rollback segment(s) are active.
2016-01-29 19:32:54 6032 [Note] InnoDB: Waiting for purge to start
2016-01-29 19:32:54 6032 [Note] InnoDB: 5.6.17 started; log sequence number 1625977
2016-01-29 19:32:54 6032 [Warning] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: fe08916a-c690-11e5-9c58-902b348a5307.
2016-01-29 19:32:54 6032 [Note] Server hostname (bind-address): '*'; port: 3306
2016-01-29 19:32:54 6032 [Note] IPv6 is available.
2016-01-29 19:32:54 6032 [Note] - '::' resolves to '::';
2016-01-29 19:32:54 6032 [Note] Server socket created on IP: '::'.
2016-01-29 19:32:55 6032 [Note] Event Scheduler: Loaded 0 events
2016-01-29 19:32:55 6032 [Note] wampmysqld: ready for connections.
Version: '5.6.17' socket: '' port: 3306 MySQL Community Server (GPL)
2016-01-29 19:36:19 6032 [Note] wampmysqld: Arrêt normal du serveur'

XAMPP Error: MySQL shutdown unexpectedly

I just installed XAMPP and when I press start for MySQL, it started normally, and then suddenly it stopped.
Here what I got in the console:
12:52:45 AM [mysql] Error: MySQL shutdown unexpectedly.
12:52:45 AM [mysql] This may be due to a blocked port, missing dependencies,
12:52:45 AM [mysql] improper privileges, a crash, or a shutdown by another method.
12:52:45 AM [mysql] Press the Logs button to view error logs and check
12:52:45 AM [mysql] the Windows Event Viewer for more clues
12:52:45 AM [mysql] If you need more help, copy and post this
12:52:45 AM [mysql] entire log window on the forums
And here is in the error log file:
Version: '5.6.24' socket: '' port: 3306 MySQL Community Server (GPL)
2015-10-22 10:01:43 7700 [Note] Plugin 'FEDERATED' is disabled.
2015-10-22 10:01:43 12f0 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-10-22 10:01:43 7700 [Note] InnoDB: Using atomics to ref count buffer pool pages
2015-10-22 10:01:43 7700 [Note] InnoDB: The InnoDB memory heap is disabled
2015-10-22 10:01:43 7700 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2015-10-22 10:01:43 7700 [Note] InnoDB: Memory barrier is not used
2015-10-22 10:01:43 7700 [Note] InnoDB: Compressed tables use zlib 1.2.3
2015-10-22 10:01:43 7700 [Note] InnoDB: Not using CPU crc32 instructions
2015-10-22 10:01:43 7700 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2015-10-22 10:01:43 7700 [Note] InnoDB: Completed initialization of buffer pool
2015-10-22 10:01:43 7700 [Note] InnoDB: Highest supported file format is Barracuda.
2015-10-22 10:01:43 7700 [Note] InnoDB: The log sequence numbers 1665234 and 1665234 in ibdata files do not match the log sequence number 39662092 in the ib_logfiles!
2015-10-22 10:01:43 7700 [Note] InnoDB: Database was not shutdown normally!
2015-10-22 10:01:43 7700 [Note] InnoDB: Starting crash recovery.
2015-10-22 10:01:43 7700 [Note] InnoDB: Reading tablespace information from the .ibd files...
2015-10-22 10:01:44 7700 [Note] InnoDB: Restoring possible half-written data pages
2015-10-22 10:01:44 7700 [Note] InnoDB: from the doublewrite buffer...
2015-10-22 10:01:44 7700 [Note] InnoDB: 128 rollback segment(s) are active.
2015-10-22 10:01:44 7700 [Note] InnoDB: Waiting for purge to start
2015-10-22 10:01:44 7700 [Note] InnoDB: 5.6.24 started; log sequence number 39662092
2015-10-22 10:01:44 7700 [Note] Server hostname (bind-address): '*'; port: 3306
2015-10-22 10:01:44 7700 [Note] IPv6 is available.
2015-10-22 10:01:44 7700 [Note] - '::' resolves to '::';
2015-10-22 10:01:44 7700 [Note] Server socket created on IP: '::'.
2015-10-22 10:01:45 7700 [Note] Event Scheduler: Loaded 0 events
2015-10-22 10:01:45 7700 [Note] mysql\bin\mysqld.exe: ready for connections.
Version: '5.6.24' socket: '' port: 3306 MySQL Community Server (GPL)
Can anyone help me? I should get back to work with this XAMPP. Thanks before!
IF You're using Linux/Unix, try to manually start mysql by running mysqld in the lampp folder and see if this works or not?

Mysql Got the error...and did not run wampserver

Hi i am using Windows 7 and having wampserver installed in it. When i run the server now. Than it strike with this error in mysql_error.log. I dont understand how to fix it. pls help me to fix it. Also wamp is not working and show as "orange".
Also i am using Apache 2.4.4, PHP 5.4.16, and Mysql 5.6.12
Here is error...
2013-10-11 18:32:51 9224 [Note] Plugin 'FEDERATED' is disabled.
2013-10-11 18:32:51 9224 [Note] InnoDB: The InnoDB memory heap is disabled
2013-10-11 18:32:51 9224 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2013-10-11 18:32:51 9224 [Note] InnoDB: Compressed tables use zlib 1.2.3
2013-10-11 18:32:51 9224 [Note] InnoDB: Not using CPU crc32 instructions
2013-10-11 18:32:51 9224 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2013-10-11 18:32:52 9224 [Note] InnoDB: Completed initialization of buffer pool
2013-10-11 18:32:52 9224 [Note] InnoDB: Highest supported file format is Barracuda.
2013-10-11 18:32:52 9224 [Note] InnoDB: 128 rollback segment(s) are active.
2013-10-11 18:32:52 9224 [Note] InnoDB: Waiting for purge to start
2013-10-11 18:32:52 9224 [Note] InnoDB: 5.6.12 started; log sequence number 23003102
2013-10-11 18:32:53 9224 [Note] Server hostname (bind-address): '*'; port: 3306
2013-10-11 18:32:53 9224 [Note] IPv6 is available.
2013-10-11 18:32:53 9224 [Note] - '::' resolves to '::';
2013-10-11 18:32:53 9224 [Note] Server socket created on IP: '::'.
2013-10-11 18:32:53 9224 [Note] Event Scheduler: Loaded 0 events
2013-10-11 18:32:53 9224 [Note] wampmysqld: ready for connections.
Version: '5.6.12-log' socket: '' port: 3306 MySQL Community Server (GPL)
These are not error's they are [Note] i.e. informational messages.
If the WampServer icon is Orange, then it is probably Apache that has not started.
Check what is using port 80 like so:
left click the Wampmanager icon ( thats the icon in the system tray ) -> Apache -> Services -> Test port 80
If it reports anything other that
Your port 80 is actually used by :
Server: Apache/2.?.?? (Win32) PHP/5.?.??
Where the version numbers match what you have installed then something else has captured port 80 and needs to be Uninstalled, reconfigured or disabled.

Categories