Bug #9513 mysql.server script from the binary distibution doesn't work out of the box
Submitted: 31 Mar 2005 2:48 Modified: 5 Apr 2005 3:03
Reporter: Petr Chardin Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Installing Severity:S2 (Serious)
Version:mysql-5.0.3-beta OS:Linux (Suse 9.1 and 9.0)
Assigned to: Petr Chardin CPU Architecture:Any

[31 Mar 2005 2:48] Petr Chardin
Description:
mysql.server script from mysq-5.0.3-beta distribution doesnt work as it contains non-translated template:

if test -z "$basedir"
then
  basedir=/usr/local/mysql
  bindir=./bin
  datadir=/usr/local/mysql/data
  sbindir=@sbindir@
else
  bindir="$basedir/bin"
  sbindir="$basedir/sbin"
fi

this @sbindir@ results  in nonworking script

How to repeat:
dowload binary distribution, install it and try to start the server with mysql.server

Suggested fix:
To find out why template substitution failed
[3 Apr 2005 16:13] 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/internals/23600
[3 Apr 2005 23:48] 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/internals/23605
[5 Apr 2005 3:03] Petr Chardin
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html