>Description: Setting basedir=/var/lib/mysql produces the error message: /usr/libexec/mysqld: Can't change dir to '/var/lib/mysql/var/' (Errcode: 2) with datadir not set to anything
Setting datadir=/var/lib/mysql produces the error message: 011001 13:32:27 /usr/libexec/mysqld: Can't find file: './mysql/host.frm' (errno: 13) with basedir not set to anything Setting both datadir and basedir=/var/lib/mysql produces the error message: 011001 13:33:57 /usr/libexec/mysqld: Can't find file: './mysql/host.frm' (errno: 13) >How-To-Repeat: Problem can easily be repeated using above steps. >Fix: Have found no work arounds. Tried linking /var/lib/mysql/var to /var/lib/mysql, but that did not work. >Submitter-Id: <submitter ID> >Originator: Todd Merriman >Organization: Software Toolz, Inc. >MySQL support: none >Synopsis: Startup cannot find database >Severity: serious >Priority: low >Category: mysql >Class: sw-bug >Release: mysql-3.23.42-max (Official MySQL-max binary) >Environment: System: Linux thor.imgphoto.com 2.4.2-2 #1 Sun Apr 8 20:41:30 EDT 2001 i686 unknown Architecture: i686 Some paths: /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc /usr/bin/cc GCC: Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-81) Compilation info: CC='gcc' CFLAGS='-O3 -mpentium ' CXX='gcc' CXXFLAGS='-O3 -mpentium -felide-constructors' LDFLAGS='-static' LIBC: lrwxrwxrwx 1 root root 13 Jul 30 13:14 /lib/libc.so.6 -> libc-2.2.2.so -rwxr-xr-x 1 root root 1236396 Apr 6 17:58 /lib/libc-2.2.2.so -rw-r--r-- 1 root root 26350254 Apr 6 15:27 /usr/lib/libc.a -rw-r--r-- 1 root root 178 Apr 6 15:27 /usr/lib/libc.so Configure command: ./configure --prefix=/usr/local/mysql '--with-comment=Official MySQL-max binary' --with-extra-charsets=complex --with-server-suffix=-max --enable-assembler --with-mysqld-ldflags=-all-static --with-client-ldflags=-all-static --disable-shared --with-berkeley-db --with-innodb --------------------------------------------------------------------- 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