Wpis z mikrobloga

Mireczki, tworzę sobie stronkę lokalnie, typowo dla siebie. Używam do tego celu Wordpressa i xamppa, żeby działało lokalnie. Dzisiaj próbuję, jak zawsze, włączyć mysql w xamppie i nie działa przez co nie mogę bawić się stronką. Poniżej komunikat. Wie ktoś jak to naprawić? Sporo pracy włożyłem w tę stronkę i nie chciałbym jej stracić.

#wordpress #stronywww #webdev #www

09:57:36 [main] Initializing Control Panel
09:57:36 [main] Windows Version: Enterprise 64-bit
09:57:36 [main] XAMPP Version: 8.1.6
09:57:36 [main] Control Panel Version: 3.3.0 [ Compiled: Apr 6th 2021 ]
09:57:36 [main] You are not running with administrator rights! This will work for
09:57:36 [main] most application stuff but whenever you do something with services
09:57:36 [main] there will be a security dialogue or things will break! So think
09:57:36 [main] about running this application with administrator rights!
09:57:36 [main] XAMPP Installation Directory: "c:\xampp\"
09:57:36 [main] Checking for prerequisites
09:57:37 [main] All prerequisites found
09:57:37 [main] Initializing Modules
09:57:37 [main] Starting Check-Timer
09:57:37 [main] Control Panel Ready
09:57:39 [mysql] Attempting to start MySQL app...
09:57:39 [mysql] Status change detected: running
09:57:41 [mysql] Status change detected: stopped
09:57:41 [mysql] Error: MySQL shutdown unexpectedly.
09:57:41 [mysql] This may be due to a blocked port, missing dependencies,
09:57:41 [mysql] improper privileges, a crash, or a shutdown by another method.
09:57:41 [mysql] Press the Logs button to view error logs and check
09:57:41 [mysql] the Windows Event Viewer for more clues
09:57:41 [mysql] If you need more help, copy and post this
09:57:41 [mysql] entire log window on the forums

Log View:
Cannot find checkpoint record at LSN (1,0x58f2)
2022-09-03 9:57:39 0 [ERROR] mysqld.exe: Aria recovery failed. Please run ariachk -r on all Aria tables and delete all arialog.######## files
2022-09-03 9:57:39 0 [ERROR] Plugin 'Aria' init function returned error.
2022-09-03 9:57:39 0 [ERROR] Plugin 'Aria' registration as a STORAGE ENGINE failed.
2022-09-03 9:57:39 0 [Note] InnoDB: Mutexes and rwlocks use Windows interlocked functions
2022-09-03 9:57:39 0 [Note] InnoDB: Uses event mutexes
2022-09-03 9:57:39 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2022-09-03 9:57:39 0 [Note] InnoDB: Number of pools: 1
2022-09-03 9:57:39 0 [Note] InnoDB: Using SSE2 crc32 instructions
2022-09-03 9:57:39 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2022-09-03 9:57:39 0 [Note] InnoDB: Completed initialization of buffer pool
2022-09-03 9:57:40 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2022-09-03 9:57:40 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2022-09-03 9:57:40 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2022-09-03 9:57:40 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2022-09-03 9:57:40 0 [Note] InnoDB: Waiting for purge to start
2022-09-03 9:57:40 0 [Note] InnoDB: 10.4.24 started; log sequence number 108617169; transaction id 109641
2022-09-03 9:57:40 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib
buffer_pool
2022-09-03 9:57:40 0 [Note] Plugin 'FEEDBACK' is disabled.
2022-09-03 9:57:40 0 [ERROR] Could not open mysql.plugin table. Some plugins may be not loaded
2022-09-03 9:57:40 0 [ERROR] Failed to initialize plugins.
2022-09-03 9:57:40 0 [ERROR] Aborting
  • 14
@ostatni_wolny_login: W treści błędu nie ma nic o czyszczeniu tych tabel. Masz odpalić na nich ariachk -r i usunąć PLIKI arialog.########. To pierwsze zapewne trzeba zrobić przez binarkę MySQL - ale nie mam pojęcia jak to wygląda na Windowsie, pogoogluj. To drugie zapewne znajdziesz gdzieś w folderze XAMPPa.
@ostatni_wolny_login: To ariackh -r służy do naprawy tabel, według dokumentacji

-r, --recover Can fix almost anything except unique keys that aren't unique.
Tak więc ciężko powiedzieć co konkretnie się zepsuło.

Jeśli chodzi o powód, to zazwyczaj baza się sypie gdy wyłącza się ją "na chama" zamiast pozwolić zatrzymać po swojemu i wtedy mogą się posypać jakieś metadane. Lub w wyniku jakiegoś crasha.
@ostatni_wolny_login: Teraz jeszcze spojrzałem na koniec tego loga który wkleiłeś i widzę to

2022-09-03 9:57:40 0 [ERROR] Could not open mysql.plugin table. Some plugins may be not loaded


Tak więc wygląda na to że jebła wewnętrzna tabela MySQLa. Twoje dane są raczej nienaruszone. Zobacz jeszcze tu, być może to ariachk nie jest jedyną rzeczą którą będziesz musiał zrobić: https://stackoverflow.com/questions/34198735/could-not-open-mysql-plugin-table-some-plugins-may-be-not-loaded