An intermittent problem with no obvious cause - when it happens I have to re-install XAMPP and then install a database backup!
Control panel shows:
8:34:47 [mysql] Attempting to start MySQL app...
8:34:47 [mysql] Status change detected: running
8:34:49 [mysql] Status change detected: stopped
8:34:49 [mysql] Error: MySQL shutdown unexpectedly.
8:34:49 [mysql] This may be due to a blocked port, missing dependencies,
8:34:49 [mysql] improper privileges, a crash, or a shutdown by another method.
8:34:49 [mysql] Press the Logs button to view error logs and check
8:34:49 [mysql] the Windows Event Viewer for more clues
8:34:49 [mysql] If you need more help, copy and post this
8:34:49 [mysql] entire log window on the forums
The Mysql log shows:
2020-12-03 8:34:47 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2020-12-03 8:34:47 0 [Note] InnoDB: Uses event mutexes
2020-12-03 8:34:47 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-12-03 8:34:47 0 [Note] InnoDB: Number of pools: 1
2020-12-03 8:34:47 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-12-03 8:34:47 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2020-12-03 8:34:47 0 [Note] InnoDB: Completed initialization of buffer pool
2020-12-03 8:34:47 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-12-03 8:34:47 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-12-03 8:34:47 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2020-12-03 8:34:47 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2020-12-03 8:34:47 0 [Note] InnoDB: Waiting for purge to start
2020-12-03 8:34:47 0 [Note] InnoDB: 10.4.14 started; log sequence number 718020679; transaction id 119409
2020-12-03 8:34:47 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2020-12-03 8:34:47 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-12-03 8:34:47 0 [Note] Server socket created on IP: '::'.
And Windows Event viewer has various entries:
The final one is:
- System
- Provider
[ Name] MariaDB
- EventID 100
[ Qualifiers] 49152
Version 0
Level 2
Task 0
Opcode 0
Keywords 0x80000000000000
- TimeCreated
[ SystemTime] 2020-12-02T21:34:48.1827276Z
EventRecordID 11592
Correlation
- Execution
[ ProcessID] 0
[ ThreadID] 0
Channel Application
Computer DESKTOP-QMHIBME
Security
- EventData
Aborting
And before that :
Failed to initialize multi master structures
and before that
Slave I/O: Fatal error: Invalid (empty) username when attempting to connect to the master server. Connection attempt terminated. Internal MariaDB error code: 1593
I am not running a master/slave setup as far as I know so makes no sense....