I am trying to start the mysql portion of xammp and i got a log issue i went into the logs and this is the error code any idea what could have gone wrong
Power cycling my system to see whether or not it was just an error
i have tried to open myphp admin to view this but i cannot due to the system being local and without mysql being opened within xammp it will not connect
Here is the log error from xammp:
13:32:11 [mysql] Attempting to start MySQL app...
13:32:11 [mysql] Status change detected: running
13:32:15 [mysql] Status change detected: stopped
13:32:15 [mysql] Error: MySQL shutdown unexpectedly.
13:32:15 [mysql] This may be due to a blocked port, missing dependencies,
13:32:15 [mysql] improper privileges, a crash, or a shutdown by another method.
13:32:15 [mysql] Press the Logs button to view error logs and check
13:32:15 [mysql] the Windows Event Viewer for more clues
13:32:15 [mysql] If you need more help, copy and post this
13:32:15 [mysql] entire log window on the forums
and here is the error within the log file:
InnoDB: using atomic writes.
2019-10-29 13:32:11 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2019-10-29 13:32:11 0 [Note] InnoDB: Uses event mutexes
2019-10-29 13:32:11 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2019-10-29 13:32:11 0 [Note] InnoDB: Number of pools: 1
2019-10-29 13:32:11 0 [Note] InnoDB: Using SSE2 crc32 instructions
2019-10-29 13:32:11 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2019-10-29 13:32:11 0 [Note] InnoDB: Completed initialization of buffer pool
2019-10-29 13:32:13 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2019-10-29 13:32:13 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2019-10-29 13:32:13 0 [Note] InnoDB: Setting file '\University\Year 2\Web Development\Xampp\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2019-10-29 13:32:13 0 [Note] InnoDB: File '\University\Year 2\Web Development\Xampp\xampp\mysql\data\ibtmp1' size is now 12 MB.
2019-10-29 13:32:14 0 [Note] InnoDB: Waiting for purge to start
2019-10-29 13:32:14 0 [Note] InnoDB: 10.4.6 started; log sequence number 14874307; transaction id 11655
2019-10-29 13:32:14 0 [Note] InnoDB: Loading buffer pool(s) from E:\University\Year 2\Web Development\Xampp\xampp\mysql\data\ib_buffer_pool
2019-10-29 13:32:14 0 [Note] Plugin 'FEEDBACK' is disabled.
2019-10-29 13:32:14 0 [Note] Server socket created on IP: '::'.
Related
mysql wont start when with this error log :
16:52:59 [mysql] Attempting to start MySQL app...
16:52:59 [mysql] Status change detected: running
16:53:01 [mysql] Status change detected: stopped
16:53:01 [mysql] Error: MySQL shutdown unexpectedly.
16:53:01 [mysql] This may be due to a blocked port, missing dependencies,
16:53:01 [mysql] improper privileges, a crash, or a shutdown by another method.
16:53:01 [mysql] Press the Logs button to view error logs and check
16:53:01 [mysql] the Windows Event Viewer for more clues
16:53:01 [mysql] If you need more help, copy and post this
16:53:01 [mysql] entire log window on the forums
more over, this log showed belom brom MySQL log :
2022-10-25 16:52:59 0 [Note] Plugin 'FEEDBACK' is disabled. // this is 2 prev launch sesion
2022-10-25 16:52:59 0 [Note] Server socket created on IP: '::'. // this is also prev launch sesion
2022-10-25 16:54:47 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2022-10-25 16:54:47 0 [Note] InnoDB: Uses event mutexes
2022-10-25 16:54:47 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2022-10-25 16:54:47 0 [Note] InnoDB: Number of pools: 1
2022-10-25 16:54:47 0 [Note] InnoDB: Using SSE2 crc32 instructions
2022-10-25 16:54:47 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2022-10-25 16:54:47 0 [Note] InnoDB: Completed initialization of buffer pool
2022-10-25 16:54:47 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2022-10-25 16:54:47 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2022-10-25 16:54:47 0 [Note] InnoDB: Setting file 'C:\Main\Aplikasi\XAMPP\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2022-10-25 16:54:47 0 [Note] InnoDB: File 'C:\Main\Aplikasi\XAMPP\mysql\data\ibtmp1' size is now 12 MB.
2022-10-25 16:54:47 0 [Note] InnoDB: Waiting for purge to start
2022-10-25 16:54:47 0 [Note] InnoDB: 10.4.24 started; log sequence number 561855; transaction id 973
2022-10-25 16:54:47 0 [Note] InnoDB: Loading buffer pool(s) from C:\Main\Aplikasi\XAMPP\mysql\data\ib_buffer_pool
2022-10-25 16:54:47 0 [Note] Plugin 'FEEDBACK' is disabled.
2022-10-25 16:54:47 0 [Note] Server socket created on IP: '::'. // end of log
last time i used it just for view testing my project (No create, update, or delete on my database. only read my database)
I've been trying to change port number, changing mysql/data to mysql/old_data, running in admin mode.
there's no further explanation after server socket created IP ::
I hope it is not too late, today I got the same issue with my Xampp server
and I find a solution it might work for you.
source: MySQL shutdown unexpectedly on XAMPP - Server socket created on IP: '::'
So the thing is, that I've been using XAMPP for pretty much since I've been coding php.
I have this issue where after I start MySQL it just shuts down right after with the following error message:
16:06:46 [mysql] Attempting to start MySQL app...
16:06:46 [mysql] Status change detected: running
16:06:48 [mysql] Status change detected: stopped
16:06:48 [mysql] Error: MySQL shutdown unexpectedly.
16:06:48 [mysql] This may be due to a blocked port, missing dependencies,
16:06:48 [mysql] improper privileges, a crash, or a shutdown by another method.
16:06:48 [mysql] Press the Logs button to view error logs and check
16:06:48 [mysql] the Windows Event Viewer for more clues
16:06:48 [mysql] If you need more help, copy and post this
16:06:48 [mysql] entire log window on the forums
I went on vacation for a week and before that it had no problems. After coming back and starting it, it didn't work.
I reinstalled XAMPP 5 times, even with fresh databases. Yesterday it finally started, but now it won't start again. What should I do?
I tried copying the backup folder, reinstalling (5 times), starting it with admin privileges, checking if the port is used, changing the port.
None of these worked for me.
Here is the mysql_error.log file:
2022-08-22 16:06:46 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2022-08-22 16:06:46 0 [Note] InnoDB: Uses event mutexes
2022-08-22 16:06:46 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2022-08-22 16:06:46 0 [Note] InnoDB: Number of pools: 1
2022-08-22 16:06:46 0 [Note] InnoDB: Using SSE2 crc32 instructions
2022-08-22 16:06:46 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2022-08-22 16:06:46 0 [Note] InnoDB: Completed initialization of buffer pool
2022-08-22 16:06:46 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2022-08-22 16:06:46 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2022-08-22 16:06:46 0 [Note] InnoDB: Setting file 'D:\xmapp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2022-08-22 16:06:46 0 [Note] InnoDB: File 'D:\xmapp\mysql\data\ibtmp1' size is now 12 MB.
2022-08-22 16:06:46 0 [Note] InnoDB: Waiting for purge to start
2022-08-22 16:06:46 0 [Note] InnoDB: 10.4.24 started; log sequence number 344205; transaction id 318
2022-08-22 16:06:46 0 [Note] InnoDB: Loading buffer pool(s) from D:\xmapp\mysql\data\ib_buffer_pool
2022-08-22 16:06:46 0 [Note] Plugin 'FEEDBACK' is disabled.
2022-08-22 16:06:47 0 [Note] Server socket created on IP: '::'.
Thanks for your help.
I'm using XAMPP for Windows and MySql was working fine for the longest time, but now (after a Windows update I think) it crashes on start-up. When I click on "Start" in the Control Panel, I get a short flash of the PID and Port 3306 before it shuts down again.
This is the error I get in XAMPP:
09:14:09 [mysql] Error: MySQL shutdown unexpectedly.
09:14:09 [mysql] This may be due to a blocked port, missing dependencies,
09:14:09 [mysql] improper privileges, a crash, or a shutdown by another method.
09:14:09 [mysql] Press the Logs button to view error logs and check
09:14:09 [mysql] the Windows Event Viewer for more clues
09:14:09 [mysql] If you need more help, copy and post this
09:14:09 [mysql] entire log window on the forums
This is the last entry in the error log:
2020-08-06 9:10:27 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2020-08-06 9:10:27 0 [Note] InnoDB: Uses event mutexes
2020-08-06 9:10:27 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-08-06 9:10:27 0 [Note] InnoDB: Number of pools: 1
2020-08-06 9:10:27 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-08-06 9:10:27 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2020-08-06 9:10:27 0 [Note] InnoDB: Completed initialization of buffer pool
2020-08-06 9:10:28 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-08-06 9:10:28 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-08-06 9:10:28 0 [Note] InnoDB: Setting file 'C:\Environment\XAMPP\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2020-08-06 9:10:28 0 [Note] InnoDB: File 'C:\Environment\XAMPP\mysql\data\ibtmp1' size is now 12 MB.
2020-08-06 9:10:28 0 [Note] InnoDB: Waiting for purge to start
2020-08-06 9:10:28 0 [Note] InnoDB: 10.4.13 started; log sequence number 40471727; transaction id 36256
2020-08-06 9:10:28 0 [Note] InnoDB: Loading buffer pool(s) from C:\Environment\XAMPP\mysql\data\ib_buffer_pool
2020-08-06 9:10:28 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-08-06 9:10:28 0 [Note] InnoDB: Buffer pool(s) load completed at 200806 9:10:28
2020-08-06 9:10:28 0 [Note] Server socket created on IP: '::'.
I have already checked the port (3306): Nothing is blocking it. I have no other instances of MySQL running on my computer. Neither in the Task-Manager nor in the services.msc. But just to be sure I changed the port for MySql to 3308, but it still wouldn't start.
I also tried deleting ibdata1, ib_logfile0,ib_logfile1,ib_logfile101 in xampp/mysql/data.
The last thing I tried was setting up IPv6 which I know was a hail mary.
Any help would be appreciated.
I solved it by doing this:
https://stackoverflow.com/a/11013868/11824001
And then following the error messages I was getting in PhPMyAdmin.
Turns out my mysql.db table was corrupted and had to be repaired with:
use mysql
repair table db;
My problem
When I try to start MySQL it automaticly shuts down. It always worked fine until I downloaded sql server 2008r2. I don't know if it has something to do with it because when I run. C:\> netstat -a -b and ctrl + f the port I am using for MySQL it is not listed.
When I change the MySQL port to something else (a random number) nothing happends I am still getting the same errros.
If someone is fammiliar with this headache problem I would really appreciate the help.
Thank you in advance.
Xampp error
09:15:00 [mysql] Attempting to start MySQL app...
09:15:01 [mysql] Status change detected: running
09:15:02 [mysql] Status change detected: stopped
09:15:02 [mysql] Error: MySQL shutdown unexpectedly.
09:15:02 [mysql] This may be due to a blocked port, missing
dependencies,
09:15:02 [mysql] improper privileges, a crash, or a shutdown by
another method.
09:15:02 [mysql] Press the Logs button to view error logs and check
09:15:02 [mysql] the Windows Event Viewer for more clues
09:15:02 [mysql] If you need more help, copy and post this
09:15:02 [mysql] entire log window on the forums
Mysql_error.log
InnoDB: using atomic writes.
2020-05-27 9:15:00 0 [Note] InnoDB: Mutexes and rw_locks use Windows
interlocked functions
2020-05-27 9:15:00 0 [Note] InnoDB: Uses event mutexes
2020-05-27 9:15:00 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-05-27 9:15:00 0 [Note] InnoDB: Number of pools: 1
2020-05-27 9:15:00 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-05-27 9:15:00 0 [Note] InnoDB: Initializing buffer pool, total
size = 16M, instances = 1, chunk size = 16M
2020-05-27 9:15:00 0 [Note] InnoDB: Completed initialization of
buffer pool
2020-05-27 9:15:00 0 [Note] InnoDB: 128 out of 128 rollback segments
are active.
2020-05-27 9:15:00 0 [Note] InnoDB: Creating shared tablespace for
temporary tables
2020-05-27 9:15:00 0 [Note] InnoDB: Setting file
'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the
file full; Please wait ...
2020-05-27 9:15:00 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1'
size is now 12 MB.
2020-05-27 9:15:00 0 [Note] InnoDB: Waiting for purge to start
2020-05-27 9:15:00 0 [Note] InnoDB: 10.4.11 started; log sequence
number 47064; transaction id 9
2020-05-27 9:15:00 0 [Note] InnoDB: Loading buffer pool(s) from
C:\xampp\mysql\data\ib_buffer_pool
2020-05-27 9:15:00 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-05-27 9:15:00 0 [Note] InnoDB: Buffer pool(s) load completed at
200527 9:15:00
2020-05-27 9:15:00 0 [ERROR] Could not open mysql.plugin table. Some
plugins may be not loaded
2020-05-27 9:15:00 0 [ERROR] c:\xampp\mysql\bin\mysqld.exe: unknown
variable 'innodb_additional_mem_pool_size=2M'
2020-05-27 9:15:00 0 [ERROR] Aborting
It was working fine yesterday but now mysql stops suddenly for unknown reason.
I tried to include this in the my.ini file under [mysql]
innodb_force_recovery=1
but it did not have any effect.
mysql_error.log
2019-08-08 9:39:45 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2019-08-08 9:39:45 0 [Note] InnoDB: Uses event mutexes
2019-08-08 9:39:45 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2019-08-08 9:39:45 0 [Note] InnoDB: Number of pools: 1
2019-08-08 9:39:45 0 [Note] InnoDB: Using SSE2 crc32 instructions
2019-08-08 9:39:45 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2019-08-08 9:39:45 0 [Note] InnoDB: Completed initialization of buffer pool
2019-08-08 9:39:45 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2019-08-08 9:39:45 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2019-08-08 9:39:45 0 [Note] InnoDB: Setting file 'D:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2019-08-08 9:39:45 0 [Note] InnoDB: File 'D:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2019-08-08 9:39:45 0 [Note] InnoDB: 10.3.16 started; log sequence number 3937615; transaction id 2345
2019-08-08 9:39:45 0 [Note] InnoDB: Loading buffer pool(s) from D:\xampp\mysql\data\ib_buffer_pool
2019-08-08 9:39:45 0 [Note] Plugin 'FEEDBACK' is disabled.
2019-08-08 9:39:45 0 [Note] Server socket created on IP: '::'.
2019-08-08 9:39:45 0 [Note] InnoDB: Buffer pool(s) load completed at 190808 9:39:45
Error showing on Xampp:
9:39:44 AM [mysql] Attempting to start MySQL app...
9:39:45 AM [mysql] Status change detected: running
9:40:01 AM [mysql] Status change detected: stopped
9:40:01 AM [mysql] Error: MySQL shutdown unexpectedly.
9:40:01 AM [mysql] This may be due to a blocked port, missing dependencies,
9:40:01 AM [mysql] improper privileges, a crash, or a shutdown by another method.
9:40:01 AM [mysql] Press the Logs button to view error logs and check
9:40:01 AM [mysql] the Windows Event Viewer for more clues
9:40:01 AM [mysql] If you need more help, copy and post this
9:40:01 AM [mysql] entire log window on the forums
This may be due to a blocked port, missing dependencies,
9:40:01 AM [mysql] improper privileges, a crash, or a shutdown by another method.
As per logs firewall or antivirus is blocking the MySQL ports. Try to allow ports of firewall and also add expectations on firewall and check at your end.