Bug #28094 mysqld_multi --example mentions safe_mysqld instead of mysqld_safe
Submitted: 25 Apr 2007 13:51 Modified: 18 Jun 2009 14:40
Reporter: Janek Bogucki Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Command-line Clients Severity:S3 (Non-critical)
Version:2.15, 5.0.42-BK, 5.0.37 OS:Linux (sles9)
Assigned to: Jim Winstead CPU Architecture:Any
Tags: documentation

[25 Apr 2007 13:51] Janek Bogucki
Description:
The example given by "mysqld_multi --example" should be updated to mention "mysqld_safe",

[mysqld3]
mysqld     = /path/to/safe_mysqld/safe_mysqld
ledir      = /path/to/mysqld-binary/
mysqladmin = /path/to/mysqladmin/mysqladmin
socket     = /tmp/mysql.sock3
port       = 3308
pid-file   = /var/lib/mysql3/hostname.pid3
datadir    = /var/lib/mysql3
language   = /usr/share/mysql/swedish
user       = unix_user2

How to repeat:
Type this command

mysqld_multi --example

Suggested fix:
Change /path/to/safe_mysqld/safe_mysqld /path/to/mysqld_safe/mysqld_safe
[26 Apr 2007 9:57] Valeriy Kravchuk
Thank you for a problem report. Verified just as described with latest 5.0.42-BK:

openxs@suse:~/dbs/5.0> bin/mysqld_multi --example | grep safe
#   If you are using mysqld_safe to start mysqld, make sure that every
#   MySQL server has a separate pid-file. In order to use mysqld_safe
#   mysqld=/path/to/mysqld_safe
#   ledir (library executable directory), is an option that only mysqld_safe
mysqld     = /home/openxs/dbs/5.0/bin/mysqld_safe
mysqld     = /path/to/safe_mysqld/safe_mysqld

I think, this is really a (not very serious) bug, not a feature request.
[28 Apr 2009 18:28] 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/72940

2882 Jim Winstead	2009-04-28
      mysqld_multi still had mentions of safe_mysqld instead of mysqld_safe,
      as well as some unclear example paths. (Bug #28094)
      modified:
        scripts/mysqld_multi.sh
[5 May 2009 18:02] Jim Winstead
Queued to 5.1-bugteam and 6.0-bugteam.
[28 May 2009 8:17] Bugs System
Pushed into 5.1.36 (revid:joro@sun.com-20090528073639-yohsb4q1jzg7ycws) (version source revid:mats@sun.com-20090511132802-nnkiyb2huih1tklz) (merge vers: 5.1.35) (pib:6)
[29 May 2009 1:16] Paul DuBois
Cosmetic change. No changelog entry needed.

Setting report to NDI pending push into 6.0.x.
[17 Jun 2009 19:25] Bugs System
Pushed into 5.4.4-alpha (revid:alik@sun.com-20090616183122-chjzbaa30qopdra9) (version source revid:jimw@mysql.com-20090505173706-9ze3q4qzngw8kt2b) (merge vers: 6.0.12-alpha) (pib:11)
[18 Jun 2009 14:40] Paul DuBois
Cosmetic change. No changelog entry needed.
[26 Aug 2009 13:46] Bugs System
Pushed into 5.1.37-ndb-7.0.8 (revid:jonas@mysql.com-20090826132541-yablppc59e3yb54l) (version source revid:jonas@mysql.com-20090826132541-yablppc59e3yb54l) (merge vers: 5.1.37-ndb-7.0.8) (pib:11)
[26 Aug 2009 13:46] Bugs System
Pushed into 5.1.37-ndb-6.3.27 (revid:jonas@mysql.com-20090826105955-bkj027t47gfbamnc) (version source revid:jonas@mysql.com-20090826105955-bkj027t47gfbamnc) (merge vers: 5.1.37-ndb-6.3.27) (pib:11)
[26 Aug 2009 13:48] Bugs System
Pushed into 5.1.37-ndb-6.2.19 (revid:jonas@mysql.com-20090825194404-37rtosk049t9koc4) (version source revid:jonas@mysql.com-20090825194404-37rtosk049t9koc4) (merge vers: 5.1.37-ndb-6.2.19) (pib:11)
[27 Aug 2009 16:33] Bugs System
Pushed into 5.1.35-ndb-7.1.0 (revid:magnus.blaudd@sun.com-20090827163030-6o3kk6r2oua159hr) (version source revid:jonas@mysql.com-20090826132541-yablppc59e3yb54l) (merge vers: 5.1.37-ndb-7.0.8) (pib:11)