title: How repair corrupt xampp 'mysql.user' table?
body: <p>I used Xampp yesterday to create some simple Web-based utility tool.
  Today I wanted to continue working on it but xampp control panel gave me some weir errors.</p>
  
  <p>This is the MySQL Error Log:</p>
  
  <pre><code>2019-07-20 23:47:13 0 [Note] InnoDB: Uses event mutexes
  2019-07-20 23:47:13 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
  2019-07-20 23:47:13 0 [Note] InnoDB: Number of pools: 1
  2019-07-20 23:47:13 0 [Note] InnoDB: Using SSE2 crc32 instructions
  2019-07-20 23:47:13 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
  2019-07-20 23:47:13 0 [Note] InnoDB: Completed initialization of buffer pool
  2019-07-20 23:47:13 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=1819402
  2019-07-20 23:47:14 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
  2019-07-20 23:47:14 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
  2019-07-20 23:47:14 0 [Note] InnoDB: Creating shared tablespace for temporary tables
  2019-07-20 23:47:14 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
  2019-07-20 23:47:14 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
  2019-07-20 23:47:14 0 [Note] InnoDB: Waiting for purge to start
  2019-07-20 23:47:14 0 [Note] InnoDB: 10.3.16 started; log sequence number 1819411; transaction id 257
  2019-07-20 23:47:14 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
  2019-07-20 23:47:14 0 [Note] InnoDB: Buffer pool(s) load completed at 190720 23:47:14
  2019-07-20 23:47:14 0 [Note] Plugin 'FEEDBACK' is disabled.
  2019-07-20 23:47:14 0 [Note] Server socket created on IP: '127.0.0.1'.
  
  2019-07-20 23:47:14 0 [ERROR] mysqld.exe: Table '.\mysql\user' is marked as crashed and should be repaired
  
  2019-07-20 23:47:14 0 [ERROR] mysqld.exe: Index for table '.\mysql\user' is corrupt; try to repair it
  
  2019-07-20 23:47:14 0 [ERROR] Couldn't repair table: mysql.user
  
  2019-07-20 23:47:14 0 [ERROR] Fatal error: Can't open and lock privilege tables: Index for table 'user' is corrupt; try to repair it
  </code></pre>
  
  <p>Tried already to repair, but the mySQL Service won't even start, so I'm kinda helpless...</p>