omitting server-id is good only for backup with a binary log.
Note
If you omit server-id (or set it explicitly to 0), a master refuses connections from all slaves, and a slave refuses to connect to a master. Thus, omitting server-id is good only for backup with a binary log.
本文由作者按照 CC BY 4.0 进行授权