MySQL wurde unerwartet beendet

Irgendwelche Probleme mit XAMPP für Windows? Dann ist hier genau der richtige Ort um nachzufragen.

MySQL wurde unerwartet beendet

Postby MFeldhoff » 01. April 2022 09:14

Guten Morgen,
und schon wieder... Seitdem ich auf Windows 11 upgedated habe, zum 3.x in einem Monat das Problem, dass ich die DB über XAMPP nicht öffnen kann. Es sind aber leider nicht immer dieselben Fehlermeldungen.

Heute wurde mir im log folgendes angezeigt:
InnoDB: using atomic writes.
2022-04-01 10:09:27 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2022-04-01 10:09:27 0 [Note] InnoDB: Uses event mutexes
2022-04-01 10:09:27 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2022-04-01 10:09:27 0 [Note] InnoDB: Number of pools: 1
2022-04-01 10:09:27 0 [Note] InnoDB: Using SSE2 crc32 instructions
2022-04-01 10:09:27 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2022-04-01 10:09:27 0 [Note] InnoDB: Completed initialization of buffer pool
2022-04-01 10:09:27 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2022-04-01 10:09:27 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2022-04-01 10:09:27 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2022-04-01 10:09:27 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2022-04-01 10:09:27 0 [Note] InnoDB: Waiting for purge to start
2022-04-01 10:09:27 0 [Note] InnoDB: 10.4.18 started; log sequence number 83451225; transaction id 131497
2022-04-01 10:09:27 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2022-04-01 10:09:27 0 [Note] Plugin 'FEEDBACK' is disabled.
2022-04-01 10:09:27 0 [Note] Server socket created on IP: '::'.

Ich werde gleich noch den Text im Shell hinterher schieben:
# mysqld --defaults-file=mysql\bin\my.ini --standalone --console
2022-04-01 10:17:27 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-04-01 10:17:27 0 [Note] mysqld (mysqld 10.4.18-MariaDB) starting as process 7588 ...
InnoDB: using atomic writes.
2022-04-01 10:17:27 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2022-04-01 10:17:27 0 [Note] InnoDB: Uses event mutexes
2022-04-01 10:17:27 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2022-04-01 10:17:27 0 [Note] InnoDB: Number of pools: 1
2022-04-01 10:17:27 0 [Note] InnoDB: Using SSE2 crc32 instructions
2022-04-01 10:17:27 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2022-04-01 10:17:27 0 [Note] InnoDB: Completed initialization of buffer pool
2022-04-01 10:17:27 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2022-04-01 10:17:27 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2022-04-01 10:17:27 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2022-04-01 10:17:27 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2022-04-01 10:17:27 0 [Note] InnoDB: Waiting for purge to start
2022-04-01 10:17:27 0 [Note] InnoDB: 10.4.18 started; log sequence number 83451243; transaction id 131497
2022-04-01 10:17:27 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2022-04-01 10:17:27 0 [Note] Plugin 'FEEDBACK' is disabled.
2022-04-01 10:17:27 0 [Note] Server socket created on IP: '::'.
2022-04-01 10:17:27 0 [ERROR] Fatal error: Can't open and lock privilege tables: Incorrect file format 'db'
2022-04-01 10:17:27 0 [ERROR] Aborting

Bin völlig frustriert.
Danke im Voraus.
MFeldhoff
 
Posts: 6
Joined: 16. February 2022 17:25
XAMPP version: 3.2.4
Operating System: Windows11

Re: MySQL wurde unerwartet beendet

Postby MFeldhoff » 07. April 2022 07:46

Kann mir niemand helfen?
MFeldhoff
 
Posts: 6
Joined: 16. February 2022 17:25
XAMPP version: 3.2.4
Operating System: Windows11

Re: MySQL wurde unerwartet beendet

Postby Altrea » 07. April 2022 07:49

Hi,

MFeldhoff wrote:2022-04-01 10:17:27 0 [ERROR] Fatal error: Can't open and lock privilege tables: Incorrect file format 'db'
2022-04-01 10:17:27 0 [ERROR] Aborting

Versuche mal bitte deine mysql Datenbank zu reparieren.
Dazu öffne bitte eine XAMPP Shell und führe folgendes Command aus:
Code: Select all
mysqld --console --skip-grant-tables --skip-external-locking


Lasse die Shell offen und öffne bitte eine zweite XAMPP Shell und führe dort folgendes Command aus:
Code: Select all
mysqlcheck -r --databases mysql --use-frm


Anschließend kannst du beide Shell Fenster schließen und versuchen die Datenbank auf normalem Wege zu starten
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: 11933
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: MySQL wurde unerwartet beendet

Postby MFeldhoff » 15. April 2022 13:10

Hat funktioniert. DANKE! Was für eine Erleichterung.
MFeldhoff
 
Posts: 6
Joined: 16. February 2022 17:25
XAMPP version: 3.2.4
Operating System: Windows11


Return to XAMPP für Windows

Who is online

Users browsing this forum: No registered users and 131 guests