Error: MySQL shutdown unexpectedly

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

Error: MySQL shutdown unexpectedly

Postby simplynewbie » 21. August 2022 07:21

MySQL shutdown uexpectedly

i have the same problem. I followed the instruction above and here's the response.

Admin@DESKTOP-5FDMMNQ c:\xampp
# mysqld --defaults-file=mysql\bin\my.ini --standalone --console
2022-08-21 14:06:09 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.
2022-08-21 14:06:09 0 [Note] mysqld (mysqld 10.4.24-MariaDB) starting as process 14744 ...
2022-08-21 14:06:09 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2022-08-21 14:06:09 0 [Note] InnoDB: Uses event mutexes
2022-08-21 14:06:09 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2022-08-21 14:06:09 0 [Note] InnoDB: Number of pools: 1
2022-08-21 14:06:09 0 [Note] InnoDB: Using SSE2 crc32 instructions
2022-08-21 14:06:09 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2022-08-21 14:06:09 0 [Note] InnoDB: Completed initialization of buffer pool
2022-08-21 14:06:09 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2022-08-21 14:06:09 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2022-08-21 14:06:09 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2022-08-21 14:06:09 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2022-08-21 14:06:09 0 [Note] InnoDB: Waiting for purge to start
2022-08-21 14:06:09 0 [Note] InnoDB: 10.4.24 started; log sequence number 300351; transaction id 170
2022-08-21 14:06:09 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2022-08-21 14:06:09 0 [Note] Plugin 'FEEDBACK' is disabled.
2022-08-21 14:06:09 0 [Note] Server socket created on IP: '::'.
2022-08-21 14:06:09 0 [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.

2022-08-21 14:06:09 0 [ERROR] Do you already have another mysqld server running on port: 3306 ?
2022-08-21 14:06:09 0 [ERROR] Aborting

Admin@DESKTOP-5FDMMNQ c:\xampp

I hope a good guy would take time to answer soon.
simplynewbie
 
Posts: 1
Joined: 21. August 2022 07:13
XAMPP version: v3.3.0
Operating System: windows

Re: Error: MySQL shutdown unexpectedly

Postby Altrea » 22. August 2022 07:57

is MariaDB already running?
Or do you have a different mysql/MariaDB server running?

please start your XAMPP control panel with elevated administrator rights (rightclick -> run as Administrator) and post us the complete contents of the log messages there.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Error: MySQL shutdown unexpectedly

Postby web_developer » 04. September 2022 14:07

I faced the same problem, and had found a temporary solution(maybe permenant) for it,
First of all, from XAMPP>htdocs>[your_website_folder] move/copy this folder in some other drive. Then move/copy XAMPP>mysql folder also to other drive, then uninstall XAMPP and reinstall it, and now move that folders(which we've backuped previously) to the same location except mysql folder, instead of moving the whole folder just move/copy folder XAMPP>data> [your_website_name] folder and XAMPP>mysql>data>ibdata1 file. Then check by starting Apache and SQL server it should work now.
web_developer
 
Posts: 1
Joined: 04. September 2022 13:47
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 195 guests