MySQL Shutdown Unexpectedly Error, This is my log:

Problems with the Windows version of XAMPP, questions, comments, and anything related.

MySQL Shutdown Unexpectedly Error, This is my log:

Postby kkanoz86 » 31. May 2023 08:59

mine doesnt work
5:53:49 PM [main] Initializing Control Panel
5:53:49 PM [main] Windows Version: Enterprise 64-bit
5:53:49 PM [main] XAMPP Version: 8.2.4
5:53:49 PM [main] Control Panel Version: 3.3.0 [ Compiled: Apr 6th 2021 ]
5:53:49 PM [main] Running with Administrator rights - good!
5:53:49 PM [main] XAMPP Installation Directory: "c:\xampp\"
5:53:49 PM [main] Checking for prerequisites
5:53:49 PM [main] All prerequisites found
5:53:49 PM [main] Initializing Modules
5:53:49 PM [main] The FileZilla module is disabled
5:53:49 PM [main] The Mercury module is disabled
5:53:49 PM [main] The Tomcat module is disabled
5:53:49 PM [main] Starting Check-Timer
5:53:49 PM [main] Control Panel Ready
5:54:07 PM [Apache] Attempting to start Apache app...
5:54:07 PM [Apache] Status change detected: running
5:54:49 PM [mysql] Attempting to start MySQL app...
5:54:49 PM [mysql] Status change detected: running
5:54:51 PM [mysql] Status change detected: stopped
5:54:51 PM [mysql] Error: MySQL shutdown unexpectedly.
5:54:51 PM [mysql] This may be due to a blocked port, missing dependencies,
5:54:51 PM [mysql] improper privileges, a crash, or a shutdown by another method.
5:54:51 PM [mysql] Press the Logs button to view error logs and check
5:54:51 PM [mysql] the Windows Event Viewer for more clues
5:54:51 PM [mysql] If you need more help, copy and post this
5:54:51 PM [mysql] entire log window on the forums

can sommeone help please
kkanoz86
 
Posts: 3
Joined: 31. May 2023 08:57
XAMPP version: 8.2.4
Operating System: windows

Re: MySQL Shutdown Unexpectedly Error, This is my log:

Postby kkanoz86 » 31. May 2023 09:13

Setting environment for using XAMPP for Windows.
John Smith@DESKTOP-5INUU6S c:\xampp
# mysqld --defaults-file=mysql\bin\my.ini --standalone --console
2023-05-31 18:15:30 0 [Note] Using unique option prefix 'key_buffer' is error-prone and can break in the future. Please use the full name 'key_buffer_size' instead.
2023-05-31 18:15:30 0 [Note] Starting MariaDB 10.4.28-MariaDB source revision c8f2e9a5c0ac5905f28b050b7df5a9ffd914b7e7 as process 4540
2023-05-31 18:15:30 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2023-05-31 18:15:30 0 [Note] InnoDB: Uses event mutexes
2023-05-31 18:15:30 0 [Note] InnoDB: Compressed tables use zlib 1.2.12
2023-05-31 18:15:30 0 [Note] InnoDB: Number of pools: 1
2023-05-31 18:15:30 0 [Note] InnoDB: Using SSE2 crc32 instructions
2023-05-31 18:15:30 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2023-05-31 18:15:30 0 [Note] InnoDB: Completed initialization of buffer pool
2023-05-31 18:15:30 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2023-05-31 18:15:30 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2023-05-31 18:15:30 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2023-05-31 18:15:30 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2023-05-31 18:15:30 0 [Note] InnoDB: Waiting for purge to start
2023-05-31 18:15:30 0 [Note] InnoDB: 10.4.28 started; log sequence number 300315; transaction id 170
2023-05-31 18:15:30 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2023-05-31 18:15:30 0 [Note] Plugin 'FEEDBACK' is disabled.
2023-05-31 18:15:30 0 [Note] Server socket created on IP: '::'.
2023-05-31 18:15:30 0 [ERROR] Can't start server: Bind on TCP/IP port. Got error: 10013: An attempt was made to access a socket in a way forbidden by its access permissions.

2023-05-31 18:15:30 0 [ERROR] Do you already have another mysqld server running on port: 3306 ?
2023-05-31 18:15:30 0 [ERROR] Aborting

John Smith@DESKTOP-5INUU6S c:\xampp
#
kkanoz86
 
Posts: 3
Joined: 31. May 2023 08:57
XAMPP version: 8.2.4
Operating System: windows

Re: MySQL Shutdown Unexpectedly Error, This is my log:

Postby ameerulmumin » 08. June 2023 11:31

I have the same Issue. any solution please?
ameerulmumin
 
Posts: 1
Joined: 08. June 2023 11:29
XAMPP version: 3.3.0
Operating System: Windows 11

Re: MySQL Shutdown Unexpectedly Error, This is my log:

Postby KhaleelJibo » 22. July 2023 12:19

I also have the same issue please what's the solution
KhaleelJibo
 
Posts: 1
Joined: 22. July 2023 12:10
XAMPP version: 3.3.0
Operating System: Windows 10

Re: MySQL Shutdown Unexpectedly Error, This is my log:

Postby NewUser23 » 27. July 2023 14:26

I have the same issue but a different error. In your case the log says that the port 3306 is already occupied therefore you need to end the process that is occupying the port.
Follow these steps:
1. Open command prompt
2. Type in "netstat -ano | findstr :3306"
3. This will return the PID of the process that's blocking the port
4. Find the process in the task manager and force stop it and then start the mysql server.

I hope this helps

Here is my error log if anyone knows the solution to this. P.S. I have tried turning off windows firewall.

2023-07-27 18:07:54 0 [Note] Starting MariaDB 10.4.28-MariaDB source revision c8f2e9a5c0ac5905f28b050b7df5a9ffd914b7e7 as process 6080
2023-07-27 18:07:54 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2023-07-27 18:07:54 0 [Note] InnoDB: Uses event mutexes
2023-07-27 18:07:54 0 [Note] InnoDB: Compressed tables use zlib 1.2.12
2023-07-27 18:07:54 0 [Note] InnoDB: Number of pools: 1
2023-07-27 18:07:54 0 [Note] InnoDB: Using SSE2 crc32 instructions
2023-07-27 18:07:54 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2023-07-27 18:07:54 0 [Note] InnoDB: Completed initialization of buffer pool
2023-07-27 18:07:55 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2023-07-27 18:07:55 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2023-07-27 18:07:55 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2023-07-27 18:07:55 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2023-07-27 18:07:55 0 [Note] InnoDB: Waiting for purge to start
2023-07-27 18:07:55 0 [Note] InnoDB: 10.4.28 started; log sequence number 2334045; transaction id 1365
2023-07-27 18:07:55 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2023-07-27 18:07:55 0 [Note] Plugin 'FEEDBACK' is disabled.
2023-07-27 18:07:55 0 [Note] InnoDB: Buffer pool(s) load completed at 230727 18:07:55
2023-07-27 18:07:55 0 [Note] Server socket created on IP: '::'.
NewUser23
 
Posts: 1
Joined: 27. July 2023 14:16
XAMPP version: 3.3.0
Operating System: Windows 11


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 158 guests