ERROR 3021 (HY000): Unknown error 3021

created at 11-24-2021 views: 2

When implementing mysql master-slave replication configuration, an error is reported as shown in the figure:

error screenshot

reason

Changes are not allowed when mysql master-slave replication is turned on

Resolution steps

First turn off the mysql master-slave replication function and then refresh, then make changes and then turn on the mysql master-slave replication function

①Close mysql master-slave replication

stop slave;

②Refresh

flush privileges;

③Open mysql master-slave replication

start slave;
created at:11-24-2021
edited at: 11-24-2021: