MySQL has shut down unexpectedly so I cant get back into my localhost website using XAMPP
Can you please get me back into MySQL or suggest a way of recovering my database?
Many thanks
Al
My Error log is:
InnoDB: using atomic writes.
2020-06-22 18:01:36 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2020-06-22 18:01:36 0 [Note] InnoDB: Uses event mutexes
2020-06-22 18:01:36 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-06-22 18:01:36 0 [Note] InnoDB: Number of pools: 1
2020-06-22 18:01:36 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-06-22 18:01:36 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2020-06-22 18:01:36 0 [Note] InnoDB: Completed initialization of buffer pool
2020-06-22 18:01:37 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-06-22 18:01:37 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-06-22 18:01:37 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2020-06-22 18:01:37 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2020-06-22 18:01:37 0 [Note] InnoDB: Waiting for purge to start
2020-06-22 18:01:37 0 [Note] InnoDB: 10.4.11 started; log sequence number 27427888; transaction id 57031
2020-06-22 18:01:37 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2020-06-22 18:01:37 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-06-22 18:01:37 0 [Note] Server socket created on IP: '::'.
2020-06-22 18:01:37 0 [ERROR] mysqld.exe: Index for table '.\mysql\db' is corrupt; try to repair it
2020-06-22 18:01:37 0 [ERROR] Couldn't repair table: mysql.db
2020-06-22 18:01:37 0 [ERROR] Fatal error: Can't open and lock privilege tables: Index for table 'db' is corrupt; try to repair it
2020-06-22 18:01:37 0 [ERROR] Aborting
InnoDB: using atomic writes.
2020-06-22 18:02:02 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2020-06-22 18:02:02 0 [Note] InnoDB: Uses event mutexes
2020-06-22 18:02:02 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-06-22 18:02:02 0 [Note] InnoDB: Number of pools: 1
2020-06-22 18:02:02 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-06-22 18:02:02 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2020-06-22 18:02:02 0 [Note] InnoDB: Completed initialization of buffer pool
2020-06-22 18:02:02 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-06-22 18:02:02 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-06-22 18:02:02 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2020-06-22 18:02:02 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2020-06-22 18:02:02 0 [Note] InnoDB: Waiting for purge to start
2020-06-22 18:02:02 0 [Note] InnoDB: 10.4.11 started; log sequence number 27427897; transaction id 57031
2020-06-22 18:02:02 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2020-06-22 18:02:02 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-06-22 18:02:02 0 [Note] Server socket created on IP: '::'.