@nobbie:
Ich empfehle darüber hinaus, Xampp überhaupt nicht auf Windows zu benutzen, sondern unter Linux. Da läuft es deutlich stabiler, was auch kein Zufall ist, weil es dort entwickelt wird.
Es gibt xampp für Windows schon seit 20 Jahren. Ich hoffe anständig, dass xampp weiterentwickelt wird. Oder muss ich pessimistisch sein?
Nebenbei bekommt man auch noch ein kostenloses und besseres Betriebssystem dazu. Was will man mehr?!
Die Macher von xampp (im Unterschied zu lampp) sind sich wohl dessen bewusst, dass es sehr viele User gibt, die auf Windows angewiesen sind. Linux als Subsystem unter Windows laufen zu lassen, erhöht die Komplexität doch drastisch. Das war wohl auch der Grund, dass xampp überhaupt entwickelt wurde.
Es gibt xampp für Windows schon seit 20 Jahren. Und seit dieser Zeit nutze ich xampp auch schon. Bis vor wenigen Jahren hatte ich eigentlich auch nie Schwierigkeiten mit XAMPP. Aber seitdem habe ich immer häufiger genau das Problem, das Thread-Opener @micmue beschreibt.
Ich habe die Hinweise in diesem Thread nachvollzogen. Leider ohne Erfolg.
Ich kopiere die Fehlermeldungen, die mir fast identisch zu sein scheinen zu denen von @micmue:
13:15:04 [main] Initialisere Control Panel
13:15:04 [main] Windows Version: Enterprise 64-bit
13:15:04 [main] XAMPP Version: 8.1.10
13:15:04 [main] Control Panel Version: 3.3.0 [ Compiled: Apr 6th 2021 ]
13:15:04 [main] Mit Administratorrechten gestartet - gut!
13:15:04 [main] XAMPP Installationsverzeichnis: "c:\xampp\"
13:15:04 [main] Voraussetzungen werden geprüft
13:15:04 [main] Alle Voraussetzungen sind erfüllt
13:15:04 [main] Initialisiere Module
13:15:05 [main] Aktiviere Autostart für Modul "Apache"
13:15:05 [main] Aktiviere Autostart für Modul "MySQL"
13:15:05 [main] Starte Check-Timer
13:15:05 [main] Control Panel bereit
13:15:05 [Apache] Autostart aktiv: Starte...
13:15:05 [Apache] Versuche Apache zu starten...
13:15:05 [mysql] Autostart aktiv: Starte...
13:15:05 [mysql] Versuche MySQL zu starten...
13:15:06 [Apache] Statusänderung erkannt: gestartet
13:15:06 [mysql] Statusänderung erkannt: gestartet
13:15:11 [mysql] Statusänderung erkannt: gestoppt
13:15:11 [mysql] Fehler: MySQL wurde unerwartet beendet
13:15:11 [mysql] Ursache könnte ein geblockter Port, fehlende Abhängigkeiten,
13:15:11 [mysql] fehlende Berechtigungen, ein Absturz oder ein Abbruch einer anderen Methode sein.
13:15:11 [mysql] Drücke den Logs Button um error logs zu sehen und prüfe
13:15:11 [mysql] im Windows Event Viewer für weitere Hinweise
13:15:11 [mysql] Wenn du weitere Hilfe benötigst, kopiere den kompletten Inhalt des Log Fensters
13:15:11 [mysql] und füge ihn als Ergänzung in einem neuen Forum Eintrag hinzu.
Aus mysql_error.log:
2022-11-23 13:15:06 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2022-11-23 13:15:06 0 [Note] InnoDB: Uses event mutexes
2022-11-23 13:15:06 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2022-11-23 13:15:06 0 [Note] InnoDB: Number of pools: 1
2022-11-23 13:15:06 0 [Note] InnoDB: Using SSE2 crc32 instructions
2022-11-23 13:15:06 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2022-11-23 13:15:06 0 [Note] InnoDB: Completed initialization of buffer pool
2022-11-23 13:15:09 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2022-11-23 13:15:09 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2022-11-23 13:15:09 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2022-11-23 13:15:09 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2022-11-23 13:15:09 0 [Note] InnoDB: Waiting for purge to start
2022-11-23 13:15:09 0 [Note] InnoDB: Waiting for purge to start
2022-11-23 13:15:09 0 [Note] InnoDB: Waiting for purge to start
2022-11-23 13:15:09 0 [Note] InnoDB: 10.4.25 started; log sequence number 228753950; transaction id 600136
2022-11-23 13:15:09 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2022-11-23 13:15:09 0 [Note] Plugin 'FEEDBACK' is disabled.
2022-11-23 13:15:09 0 [Note] InnoDB: Buffer pool(s) load completed at 221123 13:15:09
2022-11-23 13:15:09 0 [Note] Server socket created on IP: '::'.
Setting environment for using XAMPP for Windows.
Ich@MeinComputer c:\xampp
# mysqld --defaults-file=mysql\bin\my.ini --standalone --console
2022-11-23 13:31: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-11-23 13:31:27 0 [Note] mysqld (mysqld 10.4.25-MariaDB) starting as process 9040 ...
2022-11-23 13:31:27 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2022-11-23 13:31:27 0 [Note] InnoDB: Uses event mutexes
2022-11-23 13:31:27 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2022-11-23 13:31:27 0 [Note] InnoDB: Number of pools: 1
2022-11-23 13:31:27 0 [Note] InnoDB: Using SSE2 crc32 instructions
2022-11-23 13:31:27 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2022-11-23 13:31:27 0 [Note] InnoDB: Completed initialization of buffer pool
2022-11-23 13:31:28 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2022-11-23 13:31:28 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2022-11-23 13:31:28 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2022-11-23 13:31:28 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2022-11-23 13:31:28 0 [Note] InnoDB: Waiting for purge to start
2022-11-23 13:31:28 0 [Note] InnoDB: 10.4.25 started; log sequence number 228753959; transaction id 600136
2022-11-23 13:31:28 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2022-11-23 13:31:28 0 [Note] Plugin 'FEEDBACK' is disabled.
2022-11-23 13:31:28 0 [Note] Server socket created on IP: '::'.
2022-11-23 13:31:28 0 [ERROR] Fatal error: Can't open and lock privilege tables: Incorrect file format 'db'
2022-11-23 13:31:28 0 [ERROR] Aborting
Diese Fehlermeldung habe ich in den letzten Jahren ziemlich häufig. Ich versuche dann die DB zu retten, aber meist hilft nur eine Neuinstallation. Die Daten aus der DB seit dem letzten Back-Up per phpMyAdmin sind dann weg. Dieser casus cnactus scheint gerade wieder eingetreten zu sein. Ärgerlich.
Vielleicht kann jemand doch anhand der Log-Daten einen Tipp zur Rettung der Daten geben. Ich hoffe inständig.