I may be missing something obvious, because I am just getting started again with XAMPP after a hiatus of 10 years ...
Anyhow, the XAMPP readme file says I can change the MySQL password with:
C:\xampp\mysql\bin\mysqladmin.exe -u root -p secret
When I tried, I was asked to enter a password. I tried: nothing
(because supposedly there is no root password) and get this error message:
C:\xampp\mysql\bin\mysqladmin.exe: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
I then tried some of the usual suspects: e.g. password and get this error message:
C:\xampp\mysql\bin\mysqladmin.exe: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: YES)'
Installation:
XAMPP 7.3.11 full install with xampp-windows-x64-7.3.11-0-VC15-installer.exe
Windows 10 Pro 64bit
Install path: C:\xampp\
xampp-control.log
2:22:28 PM [main] Initializing Modules
2:22:28 PM [main] Starting Check-Timer
2:22:28 PM [main] Control Panel Ready
2:22:32 PM [Apache] Attempting to start Apache app...
2:22:32 PM [Apache] Status change detected: running
2:22:35 PM [mysql] Attempting to start MySQL app...
2:22:35 PM [mysql] Status change detected: running
2:43:29 PM [mysql] Attempting to stop MySQL app...
2:43:29 PM [mysql] Status change detected: stopped
2:43:32 PM [Apache] Attempting to stop Apache (PID: 7924)
2:43:32 PM [Apache] Attempting to stop Apache (PID: 9520)
2:43:32 PM [Apache] Status change detected: stopped
2:43:37 PM [Apache] Attempting to start Apache app...
2:43:37 PM [Apache] Status change detected: running
2:43:40 PM [mysql] Attempting to start MySQL app...
2:43:40 PM [mysql] Status change detected: running
2:44:08 PM [mysql] Attempting to stop MySQL app...
2:44:08 PM [mysql] Status change detected: stopped
2:44:10 PM [Apache] Attempting to stop Apache (PID: 9772)
2:44:10 PM [Apache] Attempting to stop Apache (PID: 5680)
2:44:10 PM [Apache] Status change detected: stopped
2:44:33 PM [main] Deinitializing Modules
2:44:33 PM [main] Deinitializing Control Panel
mysql_error.log
2019-12-05 15:41:25 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2019-12-05 15:41:25 0 [Note] InnoDB: Uses event mutexes
2019-12-05 15:41:25 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2019-12-05 15:41:25 0 [Note] InnoDB: Number of pools: 1
2019-12-05 15:41:25 0 [Note] InnoDB: Using SSE2 crc32 instructions
2019-12-05 15:41:25 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2019-12-05 15:41:25 0 [Note] InnoDB: Completed initialization of buffer pool
2019-12-05 15:41:25 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=302060
2019-12-05 15:41:25 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2019-12-05 15:41:25 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2019-12-05 15:41:25 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2019-12-05 15:41:25 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2019-12-05 15:41:25 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2019-12-05 15:41:25 0 [Note] InnoDB: Waiting for purge to start
2019-12-05 15:41:25 0 [Note] InnoDB: 10.4.8 started; log sequence number 302069; transaction id 209
2019-12-05 15:41:25 0 [Note] Plugin 'FEEDBACK' is disabled.
2019-12-05 15:41:25 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2019-12-05 15:41:25 0 [Note] Server socket created on IP: '::'.