Bug #104174 MySQL does not start
Submitted: 30 Jun 2021 15:01 Modified: 30 Jun 2021 15:44
Reporter: Victor Molina Email Updates:
Status: Unsupported Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version: OS:Windows (Windows 10 Home Single Language)
Assigned to: CPU Architecture:Any (Operating System 64 bits, processor x64)
Tags: start, xampp

[30 Jun 2021 15:01] Victor Molina
Description:
this is the log from XAMPP at the moment I want to star MySQL
InnoDB: using atomic writes.
2021-06-30  8:25:36 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2021-06-30  8:25:36 0 [Note] InnoDB: Uses event mutexes
2021-06-30  8:25:36 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2021-06-30  8:25:36 0 [Note] InnoDB: Number of pools: 1
2021-06-30  8:25:36 0 [Note] InnoDB: Using SSE2 crc32 instructions
2021-06-30  8:25:36 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2021-06-30  8:25:36 0 [Note] InnoDB: Completed initialization of buffer pool
2021-06-30  8:25:36 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2021-06-30  8:25:36 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2021-06-30  8:25:36 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2021-06-30  8:25:36 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2021-06-30  8:25:36 0 [Note] InnoDB: Waiting for purge to start
2021-06-30  8:25:36 0 [Note] InnoDB: 10.4.17 started; log sequence number 3156063; transaction id 6198
2021-06-30  8:25:36 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2021-06-30  8:25:36 0 [Note] Plugin 'FEEDBACK' is disabled.
2021-06-30  8:25:36 0 [Note] Server socket created on IP: '::'.
2021-06-30  8:25:36 7 [Note] Reading Master_info: 'master-2021@002d06@002d29@0020@00208@003a51@003a58@00200@0020@005bnote@005d@0020reading@0020of@0020all@0020master_info@0020entries@0020succeeded@000d.info'  Relay_info:'relay-log-2021@002d06@002d29@0020@00208@003a51@003a58@00200@0020@005bnote@005d@0020reading@0020of@0020all@0020master_info@0020entries@0020succeeded@000d.info'
2021-06-30  8:25:36 0 [Note] InnoDB: Buffer pool(s) load completed at 210630  8:25:36
2021-06-30  8:25:36 7 [Warning] Neither --relay-log nor --relay-log-index were used; so replication may break when this MySQL server acts as a slave and has his hostname changed!! Please use '--log-basename=#' or '--relay-log=mysql-relay-bin' to avoid this problem.
2021-06-30  8:25:36 7 [ERROR] log 2021-06-30  8:17:24 7 [Note] Initialized Master_info from 'master-2021@002d06@002d29@0020@00208@003a51@003a58@00200@0020@005bnote@005d@0020reading@0020of@0020all@0020master_info@0020entries@0020succeeded@000d.info'
 listed in the index, but failed to stat
2021-06-30  8:25:36 7 [ERROR] Error counting relay log space
2021-06-30  8:25:36 7 [ERROR] Initialized Master_info from 'master-2021@002d06@002d29@0020@00208@003a51@003a58@00200@0020@005bnote@005d@0020reading@0020of@0020all@0020master_info@0020entries@0020succeeded@000d.info' failed
2021-06-30  8:25:36 7 [Note] Added new Master_info '2021-06-29  8:51:58 0 [Note] Reading of all Master_info entries succeeded
' to hash table
2021-06-30  8:25:36 7 [Note] Reading Master_info: 'master-2021@002d06@002d29@0020@00208@003a51@003a58@00200@0020@005bnote@005d@0020added@0020new@0020master_info@0020@0027@0027@0020to@0020hash@0020table@000d.info'  Relay_info:'relay-log-2021@002d06@002d29@0020@00208@003a51@003a58@00200@0020@005bnote@005d@0020added@0020new@0020master_info@0020@0027@0027@0020to@0020hash@0020table@000d.info'
2021-06-30  8:25:36 7 [Note] Initialized Master_info from 'master-2021@002d06@002d29@0020@00208@003a51@003a58@00200@0020@005bnote@005d@0020added@0020new@0020master_info@0020@0027@0027@0020to@0020hash@0020table@000d.info'
2021-06-30  8:25:36 7 [Note] Added new Master_info '2021-06-29  8:51:58 0 [Note] Added new Master_info '' to hash table
' to hash table
2021-06-30  8:25:36 8 [Note] Master '2021-06-29  8:51:58 0 [Note] Added new Master_info '' to hash table
': Slave I/O thread: Start asynchronous replication to master '@:3306' in log '' at position 4
2021-06-30  8:25:36 7 [Note] Started replication for '2021-06-29  8:51:58 0 [Note] Added new Master_info '' to hash table
'
2021-06-30  8:25:36 9 [Note] Master '2021-06-29  8:51:58 0 [Note] Added new Master_info '' to hash table
': Slave SQL thread initialized, starting replication in log 'FIRST' at position 0, relay log '.\mysql-relay-bin-2021@002d06@002d29@0020@00208@003a51@003a58@00200@0020@005bnote@005d@0020added@0020new@0020master_info@0020@0027@0027@0020to@0020hash@0020table@000d.000005' position: 4
2021-06-30  8:25:36 8 [ERROR] Master '2021-06-29  8:51:58 0 [Note] Added new Master_info '' to hash table
': Slave I/O: Fatal error: Invalid (empty) username when attempting to connect to the master server. Connection attempt terminated. Internal MariaDB error code: 1593
2021-06-30  8:25:36 7 [Note] Reading Master_info: 'master-2021@002d06@002d29@0020@00208@003a51@003a58@00200@0020@005bnote@005d@0020c@003a@005cxampp@005cmysql@005cbin@005cmysqld@002eexe@003a@0020ready@0020for@0020connections@002e@000d.info'  Relay_info:'relay-log-2021@002d06@002d29@0020@00208@003a51@003a58@00200@0020@005bnote@005d@0020c@003a@005cxampp@005cmysql@005cbin@005cmysqld@002eexe@003a@0020ready@0020for@0020connections@002e@000d.info'
2021-06-30  8:25:36 8 [Note] Master '2021-06-29  8:51:58 0 [Note] Added new Master_info '' to hash table
': Slave I/O thread killed while connecting to master
2021-06-30  8:25:36 8 [Note] Master '2021-06-29  8:51:58 0 [Note] Added new Master_info '' to hash table
': Slave I/O thread exiting, read up to log 'FIRST', position 4
2021-06-30  8:25:36 7 [Note] Initialized Master_info from 'master-2021@002d06@002d29@0020@00208@003a51@003a58@00200@0020@005bnote@005d@0020c@003a@005cxampp@005cmysql@005cbin@005cmysqld@002eexe@003a@0020ready@0020for@0020connections@002e@000d.info'
2021-06-30  8:25:36 7 [Note] Added new Master_info '2021-06-29  8:51:58 0 [Note] c:\xampp\mysql\bin\mysqld.exe: ready for connections.
' to hash table
2021-06-30  8:25:36 10 [Note] Master '2021-06-29  8:51:58 0 [Note] c:\xampp\mysql\bin\mysqld.exe: ready for connections.
': Slave I/O thread: Start asynchronous replication to master '@:3306' in log '' at position 4
2021-06-30  8:25:36 7 [Note] Started replication for '2021-06-29  8:51:58 0 [Note] c:\xampp\mysql\bin\mysqld.exe: ready for connections.
'

How to repeat:
2021-06-30  8:25:36 11 [Note] Master '2021-06-29  8:51:58 0 [Note] c:\xampp\mysql\bin\mysqld.exe: ready for connections.
': Slave SQL thread initialized, starting replication in log 'FIRST' at position 0, relay log '.\mysql-relay-bin-2021@002d06@002d29@0020@00208@003a51@003a58@00200@0020@005bnote@005d@0020c@003a@005cxampp@005cmysql@005cbin@005cmysqld@002eexe@003a@0020ready@0020for@0020connections@002e@000d.000005' position: 4
2021-06-30  8:25:36 10 [ERROR] Master '2021-06-29  8:51:58 0 [Note] c:\xampp\mysql\bin\mysqld.exe: ready for connections.
': Slave I/O: Fatal error: Invalid (empty) username when attempting to connect to the master server. Connection attempt terminated. Internal MariaDB error code: 1593
2021-06-30  8:25:36 7 [Note] Reading Master_info: 'master-version@003a@0020@002710@002e4@002e17@002dmariadb@0027@0020@0020socket@003a@0020@0027@0027@0020@0020port@003a@00203306@0020@0020mariadb@002eorg@0020binary@0020distribution@000d.info'  Relay_info:'relay-log-version@003a@0020@002710@002e4@002e17@002dmariadb@0027@0020@0020socket@003a@0020@0027@0027@0020@0020port@003a@00203306@0020@0020mariadb@002eorg@0020binary@0020distribution@000d.info'
2021-06-30  8:25:36 10 [Note] Master '2021-06-29  8:51:58 0 [Note] c:\xampp\mysql\bin\mysqld.exe: ready for connections.
': Slave I/O thread killed while connecting to master
2021-06-30  8:25:36 10 [Note] Master '2021-06-29  8:51:58 0 [Note] c:\xampp\mysql\bin\mysqld.exe: ready for connections.
': Slave I/O thread exiting, read up to log 'FIRST', position 4
2021-06-30  8:25:36 7 [Note] Initialized Master_info from 'master-version@003a@0020@002710@002e4@002e17@002dmariadb@0027@0020@0020socket@003a@0020@0027@0027@0020@0020port@003a@00203306@0020@0020mariadb@002eorg@0020binary@0020distribution@000d.info'
2021-06-30  8:25:36 7 [Note] Added new Master_info 'Version: '10.4.17-MariaDB'  socket: ''  port: 3306  mariadb.org binary distribution
' to hash table
2021-06-30  8:25:36 12 [Note] Master 'Version: '10.4.17-MariaDB'  socket: ''  port: 3306  mariadb.org binary distribution
': Slave I/O thread: Start asynchronous replication to master '@:3306' in log '' at position 4
2021-06-30  8:25:36 7 [Note] Started replication for 'Version: '10.4.17-MariaDB'  socket: ''  port: 3306  mariadb.org binary distribution
'
2021-06-30  8:25:36 13 [Note] Master 'Version: '10.4.17-MariaDB'  socket: ''  port: 3306  mariadb.org binary distribution
': Slave SQL thread initialized, starting replication in log 'FIRST' at position 0, relay log '.\mysql-relay-bin-version@003a@0020@002710@002e4@002e17@002dmariadb@0027@0020@0020socket@003a@0020@0027@0027@0020@0020port@003a@00203306@0020@0020mariadb@002eorg@0020binary@0020distribution@000d.000005' position: 4
2021-06-30  8:25:36 12 [ERROR] Master 'Version: '10.4.17-MariaDB'  socket: ''  port: 3306  mariadb.org binary distribution
': Slave I/O: Fatal error: Invalid (empty) username when attempting to connect to the master server. Connection attempt terminated. Internal MariaDB error code: 1593
2021-06-30  8:25:36 7 [Note] Reading Master_info: 'master-2021@002d06@002d29@002011@003a16@003a08@0020395@0020@005bwarning@005d@0020aborted@0020connection@0020395@0020to@0020db@003a@0020@0027db_sge@0027@0020user@003a@0020@0027root@0027@0020host@003a@0020@0027localhost@0027@0020@0028got@0020an@0020error@0020reading@0020communication@0020packets@0029@000d.info'  Relay_info:'relay-log-2021@002d06@002d29@002011@003a16@003a08@0020395@0020@005bwarning@005d@0020aborted@0020connection@0020395@0020to@0020db@003a@0020@0027db_sge@0027@0020user@003a@0020@0027root@0027@0020host@003a@0020@0027localhost@0027@0020@0028got@0020an@0020error@0020reading@0020communication@0020packets@0029@000d.info'
2021-06-30  8:25:36 12 [Note] Master 'Version: '10.4.17-MariaDB'  socket: ''  port: 3306  mariadb.org binary distribution
': Slave I/O thread killed while connecting to master
2021-06-30  8:25:36 12 [Note] Master 'Version: '10.4.17-MariaDB'  socket: ''  port: 3306  mariadb.org binary distribution
': Slave I/O thread exiting, read up to log 'FIRST', position 4
2021-06-30  8:25:36 7 [ERROR] Failed to create a new master info file (file 'C:\xampp\mysql\data\master-2021@002d06@002d29@002011@003a16@003a08@0020395@0020@005bwarning@005d@0020aborted@0020connection@0020395@0020to@0020db@003a@0020@0027db_sge@0027@0020user@003a@0020@0027root@0027@0020host@003a@0020@0027localhost@0027@0020@0028got@0020an@0020error@0020reading@0020communication@0020packets@0029@000d.info', errno 2)
2021-06-30  8:25:36 7 [ERROR] Initialized Master_info from 'master-2021@002d06@002d29@002011@003a16@003a08@0020395@0020@005bwarning@005d@0020aborted@0020connection@0020395@0020to@0020db@003a@0020@0027db_sge@0027@0020user@003a@0020@0027root@0027@0020host@003a@0020@0027localhost@0027@0020@0028got@0020an@0020error@0020reading@0020communication@0020packets@0029@000d.info' failed
2021-06-30  8:25:36 7 [Note] Added new Master_info '2021-06-29 11:16:08 395 [Warning] Aborted connection 395 to db: 'db_sge' user: 'root' host: 'localhost' (Got an error reading communication packets)
' to hash table
2021-06-30  8:25:36 7 [Note] Reading Master_info: 'master-2021@002d06@002d29@002014@003a43@003a34@0020446@0020@005bwarning@005d@0020aborted@0020connection@0020446@0020to@0020db@003a@0020@0027db_sge@0027@0020user@003a@0020@0027root@0027@0020host@003a@0020@0027localhost@0027@0020@0028got@0020an@0020error@0020reading@0020communication@0020packets@0029@000d.info'  Relay_info:'relay-log-2021@002d06@002d29@002014@003a43@003a34@0020446@0020@005bwarning@005d@0020aborted@0020connection@0020446@0020to@0020db@003a@0020@0027db_sge@0027@0020user@003a@0020@0027root@0027@0020host@003a@0020@0027localhost@0027@0020@0028got@0020an@0020error@0020reading@0020communication@0020packets@0029@000d.info'
2021-06-30  8:25:36 7 [ERROR] Failed to create a new master info file (file 'C:\xampp\mysql\data\master-2021@002d06@002d29@002014@003a43@003a34@0020446@0020@005bwarning@005d@0020aborted@0020connection@0020446@0020to@0020db@003a@0020@0027db_sge@0027@0020user@003a@0020@0027root@0027@0020host@003a@0020@0027localhost@0027@0020@0028got@0020an@0020error@0020reading@0020communication@0020packets@0029@000d.info', errno 2)
2021-06-30  8:25:36 7 [ERROR] Initialized Master_info from 'master-2021@002d06@002d29@002014@003a43@003a34@0020446@0020@005bwarning@005d@0020aborted@0020connection@0020446@0020to@0020db@003a@0020@0027db_sge@0027@0020user@003a@0020@0027root@0027@0020host@003a@0020@0027localhost@0027@0020@0028got@0020an@0020error@0020reading@0020communication@0020packets@0029@000d.info' failed
2021-06-30  8:25:36 7 [Note] Added new Master_info '2021-06-29 14:43:34 446 [Warning] Aborted connection 446 to db: 'db_sge' user: 'root' host: 'localhost' (Got an error reading communication packets)
' to hash table
2021-06-30  8:25:36 0 [Warning] Reading of some Master_info entries failed
2021-06-30  8:25:36 0 [ERROR] Failed to initialize multi master structures
2021-06-30  8:25:36 0 [ERROR] Aborting
Warning: Memory not freed: 16824
InnoDB: using atomic writes.
2021-06-30  8:35:01 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2021-06-30  8:35:01 0 [Note] InnoDB: Uses event mutexes
2021-06-30  8:35:01 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2021-06-30  8:35:01 0 [Note] InnoDB: Number of pools: 1
2021-06-30  8:35:01 0 [Note] InnoDB: Using SSE2 crc32 instructions
2021-06-30  8:35:01 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2021-06-30  8:35:01 0 [Note] InnoDB: Completed initialization of buffer pool
2021-06-30  8:35:01 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2021-06-30  8:35:01 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2021-06-30  8:35:01 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2021-06-30  8:35:01 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2021-06-30  8:35:01 0 [Note] InnoDB: Waiting for purge to start
2021-06-30  8:35:01 0 [Note] InnoDB: 10.4.17 started; log sequence number 3156072; transaction id 6198
2021-06-30  8:35:01 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2021-06-30  8:35:01 0 [Note] Plugin 'FEEDBACK' is disabled.
2021-06-30  8:35:01 0 [Note] Server socket created on IP: '::'.
[30 Jun 2021 15:44] MySQL Verification Team
Thank you for the bug report. This bug system is for Oracle MySQL products, the server reported is unsupported:

2021-06-30  8:25:36 12 [ERROR] Master 'Version: '10.4.17-MariaDB'  socket: ''  port: 3306  mariadb.org binary distribution