Bug #40487 Fatal error in mysql_install_db due to inconsistency between paths and structure
Submitted: 4 Nov 2008 0:36 Modified: 7 Nov 2008 15:50
Reporter: Elena Stepanova Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Server: Installing Severity:S2 (Serious)
Version:5.1.30-pb52 OS:Linux
Assigned to: CPU Architecture:Any

[4 Nov 2008 0:36] Elena Stepanova
Description:
(In mysql-5.1.30-pb52-linux-x86_64.tar.gz from 5.1.29-rc clone https://intranet.mysql.com/secure/pushbuild/showdir.pl?dir=bzr_mysql-5.1-5.1.29-rc)

Running scripts/mysql_install_db fails:

FATAL ERROR: Could not find ./share/fill_help_tables.sql

> ls share
aclocal  mysql

For workaround, I had to modify the script (changed pkgdatadir value).

How to repeat:
Install the binary (unpack the archive)
cd to basedir
run ./scripts/mysql_install_db

Suggested fix:
To make the script and the folder structure consistent.
[7 Nov 2008 15:50] Joerg Bruehe
Sorry to disappoint you, but this is "Not a bug".

You took a source snapshot that had passed through pushbuild for automated internal testing, but it is still "just the sources".

When we build a release, we take similar sources and add important parts from the documentation team, especially the manual and the help texts.
The "fill_help_tables" script (and its data) is part of that additional material.

Also, several paths differ between an internal test and a release package, and it is easily possible that some script works with the release package structure only.

If you want to test a system installation like a user does, you cannot take pushbuild output but must use a binary release package.
[13 Nov 2008 12:49] Joerg Bruehe
"Not a bug": no further action, un-assign, clear flags.