Xampp Control Panel v.3.2.4: Fehler: MySQL wurde unerwartet

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

Xampp Control Panel v.3.2.4: Fehler: MySQL wurde unerwartet

Postby Klausi » 12. January 2022 11:23

Hallo

Heute habe ich oben erwähnte Fehlermeldung erhalten.

2022-01-12 11:21:33 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2022-01-12 11:21:33 0 [Note] InnoDB: Uses event mutexes
2022-01-12 11:21:33 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2022-01-12 11:21:33 0 [Note] InnoDB: Number of pools: 1
2022-01-12 11:21:33 0 [Note] InnoDB: Using SSE2 crc32 instructions
2022-01-12 11:21:33 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2022-01-12 11:21:33 0 [Note] InnoDB: Completed initialization of buffer pool
2022-01-12 11:21:33 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2022-01-12 11:21:33 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2022-01-12 11:21:33 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2022-01-12 11:21:33 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2022-01-12 11:21:33 0 [Note] InnoDB: Waiting for purge to start
2022-01-12 11:21:33 0 [Note] InnoDB: 10.4.17 started; log sequence number 32796637; transaction id 11661
2022-01-12 11:21:33 0 [Note] Plugin 'FEEDBACK' is disabled.
2022-01-12 11:21:33 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2022-01-12 11:21:33 0 [Note] Zerofilling moved table: '.\mysql\plugin'
2022-01-12 11:21:33 0 [Note] Zerofilling moved table: '.\mysql\servers'
2022-01-12 11:21:33 0 [Note] Server socket created on IP: '::'.

Hat jemand einen Tipp?

Gruss
Klaus
Klausi
 
Posts: 18
Joined: 23. July 2008 15:36

Re: Xampp Control Panel v.3.2.4: Fehler: MySQL wurde unerwar

Postby Altrea » 12. January 2022 11:58

Hallo Klausi,

Das Log enthält leider keine Hinweise.

Versuche bitte mal MariaDB als Konsolenanwendung zu starten und teile uns mit, was dort an Meldungen ausgegeben werden:

  • Starte die XAMPP Shell per Klick auf den Button [Shell] im XAMPP control panel
  • Führe in der Shell folgendes Command aus
    Code: Select all
    mysqld --defaults-file=mysql\bin\my.ini --standalone --console
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: Xampp Control Panel v.3.2.4: Fehler: MySQL wurde unerwar

Postby Klausi » 12. January 2022 12:58

Hallo Altrea

Danke für den Input. Hier die Angaben:

# mysqld --defaults-file=mysql\bin\my.ini --standalone --console
2022-01-12 13:06:34 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-01-12 13:06:34 0 [Note] mysqld (mysqld 10.4.17-MariaDB) starting as process 4428 ...
InnoDB: using atomic writes.
2022-01-12 13:06:34 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2022-01-12 13:06:34 0 [Note] InnoDB: Uses event mutexes
2022-01-12 13:06:34 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2022-01-12 13:06:34 0 [Note] InnoDB: Number of pools: 1
2022-01-12 13:06:34 0 [Note] InnoDB: Using SSE2 crc32 instructions
2022-01-12 13:06:34 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2022-01-12 13:06:34 0 [Note] InnoDB: Completed initialization of buffer pool
2022-01-12 13:06:35 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2022-01-12 13:06:35 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2022-01-12 13:06:35 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2022-01-12 13:06:35 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2022-01-12 13:06:35 0 [Note] InnoDB: Waiting for purge to start
2022-01-12 13:06:35 0 [Note] InnoDB: 10.4.17 started; log sequence number 32796646; transaction id 11661
2022-01-12 13:06:35 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2022-01-12 13:06:35 0 [Note] Plugin 'FEEDBACK' is disabled.
2022-01-12 13:06:35 0 [Note] Server socket created on IP: '::'.
2022-01-12 13:06:35 0 [ERROR] mysqld: Table '.\mysql\db' is marked as crashed and last (automatic?) repair failed
2022-01-12 13:06:35 0 [ERROR] Fatal error: Can't open and lock privilege tables: Table '.\mysql\db' is marked as crashed and last (automatic?) repair failed
2022-01-12 13:06:35 0 [ERROR] Aborting
Klausi
 
Posts: 18
Joined: 23. July 2008 15:36

Re: Xampp Control Panel v.3.2.4: Fehler: MySQL wurde unerwar

Postby Altrea » 12. January 2022 13:31

Klausi wrote:2022-01-12 13:06:35 0 [ERROR] mysqld: Table '.\mysql\db' is marked as crashed and last (automatic?) repair failed
2022-01-12 13:06:35 0 [ERROR] Fatal error: Can't open and lock privilege tables: Table '.\mysql\db' is marked as crashed and last (automatic?) repair failed
2022-01-12 13:06:35 0 [ERROR] Aborting

Deine mysql Datenbank muss repariert werden

Dazu öffne bitte nochmal eine neue XAMPP Shell und führe folgendes Command aus:
Code: Select all
mysqld --console --skip-grant-tables --skip-external-locking


Lasse dieses Shellfenster bitte offen und öffne eine zweite Shell, in welcher du folgendes Command absetzt:
Code: Select all
mysqlcheck -r --databases mysql --use-frm


Nun kannst du beide Shell Fenster wieder schließen und versuchen MariaDB normal über das control Panel 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: Xampp Control Panel v.3.2.4: Fehler: MySQL wurde unerwar

Postby Klausi » 12. January 2022 16:46

Wau!

Danke, Altrea.
Ich kann jetzt wieder Arbeiten.

Vielen, vielen, herzlichen Dank!!!

Gruss
Klaus
Klausi
 
Posts: 18
Joined: 23. July 2008 15:36

Re: Xampp Control Panel v.3.2.4: Fehler: MySQL wurde unerwar

Postby Altrea » 12. January 2022 18:12

Gern geschehen :D
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


Return to XAMPP für Windows

Who is online

Users browsing this forum: No registered users and 122 guests