Bug #15593 missing scripts directory and mysql_install_db after compile
Submitted: 8 Dec 2005 16:02 Modified: 12 Dec 2005 9:54
Reporter: Marcus Madsen Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version:5.0.16 OS:Solaris (Solaris 10 (64 bit))
Assigned to: CPU Architecture:Any

[8 Dec 2005 16:02] Marcus Madsen
Description:
Compiled source on Solaris 10 (64 bit) and there is no scripts directory or mysql_install_db file for setting up MySql base tables.

How to repeat:
Compiler source and install
[12 Dec 2005 9:54] Valeriy Kravchuk
Thank you for a problem report. Sorry, but I was not able to repeat the problem you described (there is no scripts subdirectory in the installation directory, indeed, but it is not needed). I perfromed the following actions:

gunzip < mysql-5.0.16.tar.gz | tar xvf -
cd mysql-5.0.16
PATH=/export/home/mysqldev/sol10-sparc-a-64bit/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/ccs/bin:/opt/SUNWspro/bin
export LD_LIBRARY_PATH=/usr/local/lib:/usr/sfw/lib
./configure --prefix=/users/vkravchuk/dbs/5.0-sol10s
make
make install
cd
cd dbs/5.0-sol10s/

and in that directory (used in --prefix option):

-bash-3.00$ ls -F
bin/         info/        libexec/     mysql-test/  sql-bench/
include/     lib/         man/         share/
-bash-3.00$ ls -F bin/
comp_err*                    mysql_explain_log*
innochecksum*                mysql_find_rows*
msql2mysql*                  mysql_fix_extensions*
myisamchk*                   mysql_fix_privilege_tables*
myisam_ftdump*               mysqlhotcopy*
myisamlog*                   mysqlimport*
myisampack*                  mysql_install_db*
my_print_defaults*           mysql_secure_installation*
mysql*                       mysql_setpermission*
mysqlaccess*                 mysqlshow*
mysqladmin*                  mysql_tableinfo*
mysqlbinlog*                 mysqltest*
mysqlbug*                    mysqltestmanager-pwgen*
mysqlcheck*                  mysqltestmanagerc*
mysql_client_test*           mysql_tzinfo_to_sql*
mysql_config*                mysql_waitpid*
mysql_convert_table_format*  mysql_zap*
mysql_create_system_tables*  perror*
mysqld_multi*                replace*
mysqld_safe*                 resolveip*
mysqldump*                   resolve_stack_dump*
mysqldumpslow*
-bash-3.00$ uname -a
SunOS sol10-sparc-a 5.10 Generic sun4u sparc SUNW,Sun-Fire-V240

mysql_install_db is in the bin subdirectory, as described in the manual (http://dev.mysql.com/doc/refman/5.0/en/quick-install.html). As well as any sripts needed. 

So, I believe, it is not a bug, just some misunderstanding.