Description:
To avoid use of a system-supplied my.cnf I use to install with
mysql_install_db --no-defaults
This works with BASEDIR and DATADIR in the environment:
env | egrep 'BASEDIR|DATADIR'
BASEDIR=/home2/mydev/bzrinst/install-6.0-amain
DATADIR=/home2/mydev/bzrinst/install-6.0-amain/var
The directories exist:
ls -ld "$DATADIR"
drwxr-xr-x 4 istruewing istruewing 4096 2. Sep 18:14 /home2/mydev/bzrinst/install-6.0-amain/var
I did run "make install".
But Falcon claims the directory does not exist:
$BASEDIR/bin/mysql_install_db --no-defaults
Installing MySQL system tables...
Falcon: The specified serial log directory, "/home2/mydev/bzrinst/install-6.0-amain/var/", does not exist.
Falcon: The serial log directory must be created by the user before initializing Falcon.
080902 18:14:13 [ERROR] Falcon: Exception 'Invalid serial log directory path "/home2/mydev/bzrinst/install-6.0-amain/var/"' during initialization
080902 18:14:13 [ERROR] Plugin 'Falcon' init function returned error.
080902 18:14:13 [ERROR] Plugin 'Falcon' registration as a STORAGE ENGINE failed.
OK
Filling help tables...
Falcon: The specified serial log directory, "/home2/mydev/bzrinst/install-6.0-amain/var/", does not exist.
Falcon: The serial log directory must be created by the user before initializing Falcon.
080902 18:14:13 [ERROR] Falcon: Exception 'Invalid serial log directory path "/home2/mydev/bzrinst/install-6.0-amain/var/"' during initialization
080902 18:14:13 [ERROR] Plugin 'Falcon' init function returned error.
080902 18:14:13 [ERROR] Plugin 'Falcon' registration as a STORAGE ENGINE failed.
OK
To start mysqld at boot time you have to copy
...
This happens on 6.0.7, including the fix for Bug#38843 (Falcon does not start if datadir is located on home directory on Solaris). (/home2/mydev is the home directory of istruewing.)
Tested on
OS: Debian GNU/Linux/x86_64
OS: Debian Sid kernel 2.6.26 SMP PREEMPT
gcc (Debian 4.3.1-8) 4.3.1
How to repeat:
See description.