Bug #22084 mysql_install_db does not turn of --log-bin
Submitted: 7 Sep 2006 15:09 Modified: 24 Oct 2006 8:17
Reporter: Jonas Oreland Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server: Replication Severity:S3 (Non-critical)
Version:Tried 5.0.25 OS:
Assigned to: Assigned Account CPU Architecture:Any

[7 Sep 2006 15:09] Jonas Oreland
Description:
if having --log-bin in my my.cnf
and doing mysql_install_db, the installation of mysql's private tables
gets added into binlog

this makes slave barf when trying to start.

very confusing...maybe I do something incorrect

How to repeat:
add log-bin into my.cnf
do mysql_install_db (on both master and slave)
start master
start slave
see how slave can't apply the creation of mysql's internal tables, as they already
  exist.

Suggested fix:
Explicitly turn off log-bin in mysql_install_db ?
[8 Sep 2006 7:34] Sveta Smirnova
Thank you for the report.

Verified as described using last BK sources.
[24 Oct 2006 7:21] Lars Thalmann
See also BUG#18581, BUG#16563
[24 Oct 2006 8:17] Lars Thalmann
Duplicate of BUG#18581