>Description: I installed the binary distribution (first time I am installing mysql ever) for Solaris 8 in a non-standard location (/data/mysql/3.23.47/SunOS_5.8) which is local on the server. I then moved the data directory to a file server so it will be part of daily backups (/proj/webamt/rel/mysqldb). I followed the steps in the INSTALL-BINARY file for the non-standard location. I changed all permissions and ownership as described in the doc - modified and copied the startup script, support-files/mysql.server to /etc/init.d and made symbolic links in rc2.d. Then (as root) I ran 'scripts/mysql_install_db --datadir=/proj/webamt/rel/mysqldb' and then 'bin/safe_mysqld --user=mysql --datadir=/proj/webamt/rel/mysqldb &' and the following error was reported in the log file (/proj/webamt/rel/mysqldb/amthq2.err): 020415 11:33:39 mysqld started 020415 11:33:39 /data/mysql/3.23.47/SunOS_5.8/bin/mysqld: Can't find file: './mysql/host.frm' (errno: 13) 020415 11:33:39 mysqld ended
>How-To-Repeat: >Fix: >Submitter-Id: [EMAIL PROTECTED] >Originator: Magnus Larsson >Organization: Ericsson Amplifier Technologies Inc. 49 Wireless Blvd. Hauppauge, NY 11788 USA >MySQL support: none >Synopsis: Startup/config truoble >Severity: non-critical >Priority: medium >Category: mysql >Class: support >Release: mysql-3.23.47 (Official MySQL binary) >Environment: Sun Netra T1 (Ultra-SPARC), 1 GB RAM, 64 GB HDD; Solaris 8 (64-bit); /data/mysql/3.23.47/SunOS_5.8 (install dir); /proj/webamt/rel/mysqldb (database dir); LD_LIBRARY_PATH /data/mysql/0/SunOS_5.8/lib:/data/webserver/1.0.1/SunOS_5.8/lib:/usr/lib:/usr/local/lib:/usr/dt/lib:/usr/openwin/lib:/usr/ccs/lib:/usr/share/lib System: SunOS amthq2 5.8 Generic_108528-09 sun4u sparc SUNW,UltraAX-i2 Architecture: sun4 Some paths: /data/webserver/1.0.1/SunOS_5.8/bin/perl /data/webserver/1.0.1/SunOS_5.8/bin/make /usr/local/bin/gmake /usr/local/bin/gcc /usr/ucb/cc GCC: Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/specs gcc version 2.95.2 19991024 (release) Compilation info: CC='gcc' CFLAGS='-O3 -fno-omit-frame-pointer' CXX='gcc' CXXFLAGS='-O3 -fno-omit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti' LDFLAGS='' LIBC: -rw-r--r-- 1 root bin 1759400 Jul 30 2001 /lib/libc.a lrwxrwxrwx 1 root root 11 Aug 3 2001 /lib/libc.so -> ./libc.so.1 -rwxr-xr-x 1 root bin 1136720 Jul 30 2001 /lib/libc.so.1 -rw-r--r-- 1 root bin 1759400 Jul 30 2001 /usr/lib/libc.a lrwxrwxrwx 1 root root 11 Aug 3 2001 /usr/lib/libc.so -> ./libc.so.1 -rwxr-xr-x 1 root bin 1136720 Jul 30 2001 /usr/lib/libc.so.1 Configure command: ./configure --prefix=/usr/local/mysql '--with-comment=Official MySQL binary' --with-extra-charsets=complex --with-server-suffix= --enable-thread-safe-client --enable-assembler --disable-shared --------------------------------------------------------------------- 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