Problem with MySQL

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Problem with MySQL

Postby Justanil091 » 22. April 2021 18:05

2021-04-22 19:00:50 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2021-04-22 19:00:50 0 [Note] InnoDB: Uses event mutexes
2021-04-22 19:00:50 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2021-04-22 19:00:50 0 [Note] InnoDB: Number of pools: 1
2021-04-22 19:00:50 0 [Note] InnoDB: Using SSE2 crc32 instructions
2021-04-22 19:00:50 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2021-04-22 19:00:50 0 [Note] InnoDB: Completed initialization of buffer pool
2021-04-22 19:00:50 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2021-04-22 19:00:50 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2021-04-22 19:00:50 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2021-04-22 19:00:50 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2021-04-22 19:00:50 0 [Note] InnoDB: 10.4.18 started; log sequence number 3360269; transaction id 2662
2021-04-22 19:00:50 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2021-04-22 19:00:50 0 [Note] Plugin 'FEEDBACK' is disabled.
2021-04-22 19:00:50 0 [ERROR] Could not open mysql.plugin table. Some plugins may be not loaded
2021-04-22 19:00:50 0 [ERROR] Can't open and lock privilege tables: Table 'mysql.servers' doesn't exist
2021-04-22 19:00:50 0 [Note] Server socket created on IP: '::'.
2021-04-22 19:00:50 0 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.db' doesn't exist
2021-04-22 19:00:50 0 [ERROR] Aborting


These are the logs, can anyone figure out what the problem is.
BTW i have a Database with 1 SQL that has multible in them. talking about 12MB of data, it's for a local server on FiveM.
If you see the problem pls tell me as quik as possible.

Thank you!
Justanil091
 
Posts: 1
Joined: 22. April 2021 18:01
XAMPP version: v3.2.4
Operating System: Windows 10

Re: Problem with MySQL

Postby Altrea » 22. April 2021 19:45

Hi,

Justanil091 wrote:2021-04-22 19:00:50 0 [ERROR] Could not open mysql.plugin table. Some plugins may be not loaded
2021-04-22 19:00:50 0 [ERROR] Can't open and lock privilege tables: Table 'mysql.servers' doesn't exist
[...]
2021-04-22 19:00:50 0 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.db' doesn't exist


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: 10899
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 46 guests