>Description: There are several problems running the mysql-test-run script from the installed directory if you are installing from a source distribution. e.g., if you do as the manual suggests (4.7.1 Quick Installation Overview) shell> groupadd mysql shell> useradd -g mysql mysql shell> gunzip < mysql-VERSION.tar.gz | tar -xvf - shell> cd mysql-VERSION shell> ./configure --prefix=/usr/local/mysql shell> make shell> make install shell> scripts/mysql_install_db shell> chown -R root /usr/local/mysql shell> chown -R mysql /usr/local/mysql/var shell> chgrp -R mysql /usr/local/mysql shell> /usr/local/mysql/bin/safe_mysqld --user=mysql & and then do the seeminly logical: shell> cd /usr/local/mysql/mysql-test shell> ./mysql-test-run >FIX: suggest that script be changed to detect when it has been run in the install directory and is part of a source dist. Note that the permissions on the installed "mysql-test" directory after "make install" are also problematic and will have to be changed (script will fail when trying to make mysql-test/var and sub directories). >How-To-Repeat: cd mysql-VERSION ./configure --prefix=/usr/local/mysql make su make install groupadd mysql useradd -g mysql mysql scripts/mysql-install_db chown -R root /usr/local/mysql chown -R mysql /usr/local/mysql/var chgrp -R mysql /usr/local/mysql exit (to stop being root) /usr/local/mysql/bin/safe_mysqld --user=mysql& cd /usr/local/mysql/mysql-test ./mysql-test-run >Synopsis: mysql-test-run script does not work from install directory after source dist. build/install >Severity: serious >Priority: medium >Category: mysql >Class: sw-bug >Release: mysql-3.23.37 (Source distribution) >Environment: System: Darwin localhost 1.3.2 Darwin Kernel Version 1.3.2: Fri Apr 27 22:50:58 PDT 2001\ ; root:xnu/xnu-124.7.obj~1/RELEASE_PPC Power Macintosh powerpc SAME problem on Yellow Dog Linux 1.2.1 (based on RedHat Linux). Some paths: /usr/bin/perl /usr/bin/make /usr/bin/cc Compilation info: CC='cc' CFLAGS='' CXX='c++' CXXFLAGS='' LDFLAGS='' LIBC: lrwxr-xr-x 1 root wheel 15 May 1 12:44 /usr/lib/libc.dylib -> libSystem.dylib Configure command: ./configure -prefix=/usr/local/mysql --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php