Error in my mysql with xampp

Und alles was mit phpMyAdmin seine Verwandtschaft findet hat hier seinen Platz.

Error in my mysql with xampp

Postby javierpernettr » 14. April 2021 23:14

I have an issue with mysql in my installation with xampp, these are the logs of error when i try to
excecute mysql


Code: Select all

2021-04-14 16:50:40 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2021-04-14 16:50:40 0 [Note] InnoDB: Uses event mutexes
2021-04-14 16:50:40 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2021-04-14 16:50:40 0 [Note] InnoDB: Number of pools: 1
2021-04-14 16:50:40 0 [Note] InnoDB: Using SSE2 crc32 instructions
2021-04-14 16:50:40 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2021-04-14 16:50:40 0 [Note] InnoDB: Completed initialization of buffer pool
2021-04-14 16:50:41 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2021-04-14 16:50:41 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2021-04-14 16:50:41 0 [Note] InnoDB: Setting file 'E:\dev-2020\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2021-04-14 16:50:41 0 [Note] InnoDB: File 'E:\dev-2020\mysql\data\ibtmp1' size is now 12 MB.
2021-04-14 16:50:41 0 [Note] InnoDB: Waiting for purge to start
2021-04-14 16:50:41 0 [Note] InnoDB: 10.4.17 started; log sequence number 10221304; transaction id 6451
2021-04-14 16:50:41 0 [Note] InnoDB: Loading buffer pool(s) from E:\dev-2020\mysql\data\ib_buffer_pool
2021-04-14 16:50:41 0 [Note] Plugin 'FEEDBACK' is disabled.
2021-04-14 16:50:41 0 [Note] Server socket created on IP: '::'.
2021-04-14 16:50:41 0 [ERROR] mysqld.exe: Table '.\mysql\db' is marked as crashed and last (automatic?) repair failed
2021-04-14 16:50:41 0 [ERROR] Fatal error: Can't open and lock privilege tables: Table '.\mysql\db' is marked as crashed and last (automatic?) repair failed
2021-04-14 16:50:41 0 [ERROR] Aborting



how can i solve this? im newbie in mysql
im working on localhost
javierpernettr
 
Posts: 1
Joined: 26. November 2018 19:22
XAMPP version: 3.2.2
Operating System: windows 10 64bits

Re: Error in my mysql with xampp

Postby Altrea » 15. April 2021 06:35

Hi,

javierpernettr wrote:
Code: Select all
2021-04-14 16:50:41 0 [ERROR] mysqld.exe: Table '.\mysql\db' is marked as crashed and last (automatic?) repair failed
2021-04-14 16:50:41 0 [ERROR] Fatal error: Can't open and lock privilege tables: Table '.\mysql\db' is marked as crashed and last (automatic?) repair failed
2021-04-14 16:50:41 0 [ERROR] Aborting


your mysql database needs to be repaired.

To do this please open the XAMPP Shell by clicking the Shell button in your XAMPP Control Panel and execute the following command:
Code: Select all
mysqld --console --skip-grant-tables --skip-external-locking


Leave this black command line window open and click on the Shell button in the Control Panel once again to open a second command line window and execute this command:
Code: Select all
mysqlcheck -r --databases mysql --use-frm


After that you Can close both command line Windows and try to start mysql again normally from your XAMPP control panel
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: 10972
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64


Return to phpMyAdmin

Who is online

Users browsing this forum: No registered users and 5 guests