MySQL Error 1794 – ER_SLAVE_CONFIGURATION

MySQL Error Message

Slave is not configured or failed to initialize properly.
You must at least set –server-id to enable either a master or a
slave. Additional error messages can be found in the MySQL error
log.

Reason for the Error

ER_SLAVE_CONFIGURATION was removed
after 8.0.32.