Bug #16561 Unknown ERROR msg "ERROR 1186 (HY000): Binlog closed" by perror
Submitted: 17 Jan 2006 14:27 Modified: 15 Aug 2006 3:41
Reporter: Jonathan Miller Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Command-line Clients Severity:S3 (Non-critical)
Version:5.1.6-alpha OS:
Assigned to: Magnus Blåudd CPU Architecture:Any

[17 Jan 2006 14:27] Jonathan Miller
Description:
mysql> reset master;
ERROR 1186 (HY000): Binlog closed, cannot RESET MASTER
mysql> exit
Bye
~/jmiller> ./builds/bin/perror --ndb 1186
OS error code 1186:  No message slogan found (please report a bug if you get this error code): Unknown: Unknown
~/jmiller> ./builds/bin/perror 1186
Illegal error code: 1186

How to repeat:
Use my.cnf
[mysqld]
server-id=1
#log-bin    = /space/var/master1
#max-binlog-size = 20000000
log        = /space/var/master1.log
log-error  = /space/var/master1.err
socket     = /tmp/mysql.sock
port       = 3307
pid-file   = /space/var/hostname.pid1
datadir    = /space/var/
language   = /home/ndbdev/jmiller/builds/share/mysql/english/

start mysqld and try to do mysql>reset master;
[26 Jul 2006 12:09] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/9581
[3 Aug 2006 16:42] Magnus Blåudd
Pushed to 5.0.25
[4 Aug 2006 4:02] Paul DuBois
Noted in 5.0.25 changelog.

perror did not properly report NDB error codes.
[14 Aug 2006 21:19] Konstantin Osipov
Merged into 5.1.12
[15 Aug 2006 3:41] Paul DuBois
Noted in 5.1.12 changelog.