Dear Altrea,
because I think that my problem is very similar to those of George1109 » 24. January 2021 21:18,
See
https://community.apachefriends.org/f/viewtopic.php?f=16&t=80337
I tried to repair the database according to your recommendations for George1109.
But from the beginning:
I obtained the following message (in German language):
Error: MySQL shutdown unexpectedly.
[mysql] This may be due to a blocked port, missing dependencies,
[mysql] improper privileges, a crash, or a shutdown by another method.
[mysql] Press the Logs button to view error logs and check
[mysql] the Windows Event Viewer for more clues
mysql] If you need more help, copy and post this
mysql] entire log window on the forums
Log file:
Cannot find checkpoint record at LSN (1,0x7ad7)
2022-04-12 10:52:23 0 [ERROR] mysqld.exe: Aria recovery failed. Please run aria_chk -r on all Aria tables and delete all aria_log.######## files
2022-04-12 10:52:23 0 [ERROR] Plugin 'Aria' init function returned error.
2022-04-12 10:52:23 0 [ERROR] Plugin 'Aria' registration as a STORAGE ENGINE failed.
2022-04-12 10:52:23 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2022-04-12 10:52:23 0 [Note] InnoDB: Uses event mutexes
2022-04-12 10:52:23 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2022-04-12 10:52:23 0 [Note] InnoDB: Number of pools: 1
2022-04-12 10:52:23 0 [Note] InnoDB: Using SSE2 crc32 instructions
2022-04-12 10:52:23 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2022-04-12 10:52:23 0 [Note] InnoDB: Completed initialization of buffer pool
2022-04-12 10:52:23 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2022-04-12 10:52:23 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2022-04-12 10:52:23 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2022-04-12 10:52:23 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2022-04-12 10:52:23 0 [Note] InnoDB: Waiting for purge to start
2022-04-12 10:52:23 0 [Note] InnoDB: 10.4.22 started; log sequence number 1703188671; transaction id 920637
2022-04-12 10:52:23 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2022-04-12 10:52:23 0 [Note] Plugin 'FEEDBACK' is disabled.
2022-04-12 10:52:23 0 [ERROR] Could not open mysql.plugin table. Some plugins may be not loaded
2022-04-12 10:52:23 0 [ERROR] Failed to initialize plugins.
2022-04-12 10:52:23 0 [ERROR] Aborting
Attempt 1 in shell – text in shell:
# CODE: SELECT ALL
Der Befehl "CODE:" ist entweder falsch geschrieben oder konnte nicht gefunden werden.
In English:
The command “CODE:” is either misspelled or Couldn’t be found.
[XY]@DESKTOP-KQFO2RN c:\xampp
# mysqld --console --skip-grant-tables --skip-external-locking
2022-04-12 10:54: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-12 10:54:27 0 [Note] mysqld (mysqld 10.4.22-MariaDB) starting as process 4292 ...
Cannot find checkpoint record at LSN (1,0x7ad7)
2022-04-12 10:54:27 0 [ERROR] mysqld: Aria recovery failed. Please run aria_chk -r on all Aria tables and delete all aria_log.######## files
2022-04-12 10:54:27 0 [ERROR] Plugin 'Aria' init function returned error.
2022-04-12 10:54:27 0 [ERROR] Plugin 'Aria' registration as a STORAGE ENGINE failed.
2022-04-12 10:54:27 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2022-04-12 10:54:27 0 [Note] InnoDB: Uses event mutexes
2022-04-12 10:54:27 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2022-04-12 10:54:27 0 [Note] InnoDB: Number of pools: 1
2022-04-12 10:54:27 0 [Note] InnoDB: Using SSE2 crc32 instructions
2022-04-12 10:54:27 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2022-04-12 10:54:27 0 [Note] InnoDB: Completed initialization of buffer pool
2022-04-12 10:54:27 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2022-04-12 10:54:27 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2022-04-12 10:54:27 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2022-04-12 10:54:27 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2022-04-12 10:54:27 0 [Note] InnoDB: Waiting for purge to start
2022-04-12 10:54:27 0 [Note] InnoDB: 10.4.22 started; log sequence number 1703188680; transaction id 920637
2022-04-12 10:54:27 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2022-04-12 10:54:27 0 [Note] Plugin 'FEEDBACK' is disabled.
2022-04-12 10:54:27 0 [ERROR] Failed to initialize plugins.
2022-04-12 10:54:27 0 [ERROR] Aborting
Due to that message I did not use:
CODE: SELECT ALL
mysqlcheck -r --databases mysql --use-frm
Attempt 2:
I changed the name of two directories:
Directory data in dataold
Directory backup in data
Effect: MySQL is starting in the XAMPP Control Panel and no messages like MySQL shutdown unexpectedly etc.
But this approach hast he disadvantage that there is no database and therefore no tables available.
My target: To use the latest content of the databse