Using mySQL Server (Xampp) and SQL Server on the same machine - mysql

I have been using Xampp to test my website stuff and everything was working perfectly until I decided to install Microsoft SQL SERVER 2017 to do some data science stuff (school stuff).
Now I can still start Apache but I cant start MySQL. Here is the log :
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
2017-11-17 13:40:05 33f8 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-11-17 13:40:05 13304 [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-11-17 13:40:05 13304 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2017-11-17 13:40:05 13304 [Note] InnoDB: The InnoDB memory heap is disabled
2017-11-17 13:40:05 13304 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2017-11-17 13:40:05 13304 [Note] InnoDB: _mm_lfence() and _mm_sfence() are used for memory barrier
2017-11-17 13:40:05 13304 [Note] InnoDB: Compressed tables use zlib 1.2.3
2017-11-17 13:40:05 13304 [Note] InnoDB: Using generic crc32 instructions
2017-11-17 13:40:05 13304 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2017-11-17 13:40:05 13304 [Note] InnoDB: Completed initialization of buffer pool
2017-11-17 13:40:05 13304 [Note] InnoDB: Highest supported file format is Barracuda.
2017-11-17 13:40:06 13304 [Note] InnoDB: 128 rollback segment(s) are active.
2017-11-17 13:40:06 13304 [Note] InnoDB: Waiting for purge to start
2017-11-17 13:40:06 13304 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.36-82.2 started; log sequence number 1835037
2017-11-17 13:40:06 13284 [Note] InnoDB: Dumping buffer pool(s) not yet started
2017-11-17 13:40:06 13304 [Note] Plugin 'FEEDBACK' is disabled.
2017-11-17 13:40:06 13304 [Note] Server socket created on IP: '::'.
2017-11-17 13:40:06 13304 [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-11-17 13:40:06 13304 [ERROR] Do you already have another mysqld server running on port: 3306 ?
2017-11-17 13:40:06 13304 [ERROR] Aborting
I tried shutting down the SQL Server using SQL Server Management but I still can't connect MySQL.

You can change port of sql server or mysql server and dont forget to specify the port while accessing it.

Since Microsoft SQL Server and MySQL/MariaDB/Percona use different ports (and it doesn't sound like you've changed from the defaults), I doubt this is related to you installing SQL Server. SQL Server uses port 1433 and MySQL port 3306.
As for what is using that port, https://stackoverflow.com/a/48199/2385479 helps us. There is a suggestion for the TCPView Sysinternals application or the alternate suggestion of using netstat (such as C:\> netstat -a -b -n) which should give you some idea of what's using port 3306.
It seems to me you probably have another MySQL server installed which is conflicting with the port XAMPP is trying to use.

As in the log, when you installed the SQL Server it "reserverd" the same port that your MySQL was using
2017-11-17 13:40:06 13304 [ERROR] Do you already have another mysqld server running on port: 3306 ?
You can change the MySql port in the my.ini file, which can be acessed by the Xampp Control Panel, under "config".
Or, you can change de SQL Server Port, following this tutorial: https://www.syskit.com/blog/change-sql-server-port/

Related

windows could not start the mysql service on local computer error 1067

I am facing the following error when I try to restart the MySQL service after an unexpected shutdown of the database server.
Windows could not start the MySQL service on Local Computer. Error
1067: The process terminated unexpectedly.
When I check the mysql_error.err log file under the XAMPP MySql data folder, the log details are
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
Mysql Version 5.5

XAMPP: MySQL shutdown unexpectedly, have tried re-installing everything still doesnt work

I have installed XAMPP on windows 10, and Apache is running just fine but have an issue running MySQL. This is the error I get on XAMPP window:
14:23:51 [mysql] Error: MySQL shutdown unexpectedly.
14:23:51 [mysql] This may be due to a blocked port, missing dependencies,
14:23:51 [mysql] improper privileges, a crash, or a shutdown by another method.
14:23:51 [mysql] Press the Logs button to view error logs and check
14:23:51 [mysql] the Windows Event Viewer for more clues
14:23:51 [mysql] If you need more help, copy and post this
14:23:51 [mysql] entire log window on the forums
and this is what I have in the mysql_error.log:
2019-09-21 14:21:30 2ca4 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.
2019-09-21 14:21:30 11428 [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.
2019-09-21 14:21:30 11428 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2019-09-21 14:21:30 11428 [Note] InnoDB: The InnoDB memory heap is disabled
2019-09-21 14:21:30 11428 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2019-09-21 14:21:30 11428 [Note] InnoDB: _mm_lfence() and _mm_sfence() are used for memory barrier
2019-09-21 14:21:30 11428 [Note] InnoDB: Compressed tables use zlib 1.2.11
2019-09-21 14:21:30 11428 [Note] InnoDB: Using generic crc32 instructions
2019-09-21 14:21:30 11428 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2019-09-21 14:21:30 11428 [Note] InnoDB: Completed initialization of buffer pool
2019-09-21 14:21:30 11428 [Note] InnoDB: Highest supported file format is Barracuda.
2019-09-21 14:21:31 11428 [Note] InnoDB: 128 rollback segment(s) are active.
2019-09-21 14:21:31 11428 [Note] InnoDB: Waiting for purge to start
2019-09-21 14:21:31 11428 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.42-84.2 started; log sequence number 1835037
2019-09-21 14:21:31 8100 [Note] InnoDB: Dumping buffer pool(s) not yet started
2019-09-21 14:21:31 11428 [Note] Plugin 'FEEDBACK' is disabled.
2019-09-21 14:21:31 11428 [Note] Server socket created on IP: '::'.
2019-09-21 14:21:31 11428 [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.
2019-09-21 14:21:31 11428 [ERROR] Do you already have another mysqld server running on port: 3306 ?
2019-09-21 14:21:31 11428 [ERROR] Aborting
2019-09-21 14:23:47 2f80 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.
2019-09-21 14:23:47 12160 [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.
2019-09-21 14:23:47 12160 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2019-09-21 14:23:47 12160 [Note] InnoDB: The InnoDB memory heap is disabled
2019-09-21 14:23:47 12160 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2019-09-21 14:23:47 12160 [Note] InnoDB: _mm_lfence() and _mm_sfence() are used for memory barrier
2019-09-21 14:23:47 12160 [Note] InnoDB: Compressed tables use zlib 1.2.11
2019-09-21 14:23:47 12160 [Note] InnoDB: Using generic crc32 instructions
2019-09-21 14:23:47 12160 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2019-09-21 14:23:47 12160 [Note] InnoDB: Completed initialization of buffer pool
2019-09-21 14:23:47 12160 [Note] InnoDB: Highest supported file format is Barracuda.
2019-09-21 14:23:48 12160 [Note] InnoDB: 128 rollback segment(s) are active.
2019-09-21 14:23:48 12160 [Note] InnoDB: Waiting for purge to start
2019-09-21 14:23:48 12160 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.42-84.2 started; log sequence number 1835047
2019-09-21 14:23:49 5728 [Note] InnoDB: Dumping buffer pool(s) not yet started
2019-09-21 14:23:49 12160 [Note] Plugin 'FEEDBACK' is disabled.
2019-09-21 14:23:49 12160 [Note] Server socket created on IP: '::'.
2019-09-21 14:23:49 12160 [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.
2019-09-21 14:23:49 12160 [ERROR] Do you already have another mysqld server running on port: 3306 ?
2019-09-21 14:23:49 12160 [ERROR] Aborting
Have no idea what is going on re-installed the MySQL server this time enabled the InnoDB cluster still same error, someone please help, I am building a website and cant really test anything.. SOS
Change port of MySQL in the configuraiton file to 3306
Check if there is another service using 10048
If 1 and 2 don't work, change your port to one of these list: https://mysqlserverteam.com/mysql-guide-to-ports/

XAMPP: MySQL shutdown unexpectedly

Whenever I run XAMPP as an administrator and start MySQL, it starts to run but shuts down unexpectedly after a few seconds. My question is what's making MySQL shutdown unexpectedly.
Here's what the log gives me:
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
Can anyone help me solve this issue?
Okay, I uninstalled XAMPP and reinstalled it to see what it suggested that I do. I had to download the Microsoft Visual C++ 2008 Redistributable package and manually install the file setup_xampp.bat. Once I did that, I opened the control panel, reinstalled the Apache and MySQL modules and successfully started them. Thank you all for trying to help.
What version of XAMPP are you using?
I'm not sure how to solve this.
Try this:
Have you tried rebooting?
Make sure your Apache server is running.
Make sure your ports are clear. (Old Skype can interfere with your ports!)
The only thing I find odd right now is that your logs have dates from 2015.
Suggestion for your my.cnf or my.ini [mysqld] section configuration
If this variable exists,
innodb_additional_mem_pool_size
add a leading # and space bar to the line for the line to be ignored at startup.
shutdown/restart your system and post a current error log, please as well as your complete my.cnf or my.ini for analysis.

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.

XAMPP Error: Apache Attempting to start Apache service... and error: MySQL shutdown unexpectedly

I looked through a lot of posts but I did not find the answer. So I decided to ask.
I have problem with my XAMPP.
When i am trying to launch apache nothing happens. Just Attempting to start Apache service...
When i am trying to launch MySQL i can see only this:
18:26:33 [mysql] Error: MySQL shutdown unexpectedly.
18:26:33 [mysql] This may be due to a blocked port, missing
dependencies,
18:26:33 [mysql] improper privileges, a crash, or a shutdown by
another method.
18:26:33 [mysql] Press the Logs button to view error logs and check
18:26:33 [mysql] the Windows Event Viewer for more clues
18:26:33 [mysql] If you need more help, copy and post this
18:26:33 [mysql] entire log window on the forums
log here:
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
Change ServerName localhost:80 to ServerName localhost:8080, save file xampp\apache\conf\htpd.conf, reset Apache in xampp\xamp-control.exe and see does Apache is working.