Anyone knows how to figure out the mysql basedir string using Autoconf and
then pass it to Automake for an embedded application?
Thanks in advance,
-Alex
Mark Sargent wrote:
Hi All,
if this script is in scripts by default, why does it have the
following code,
test -z "$ldata" && ldata=./data
if test -z "$basedir"
then
basedir=.
bindir=./bin
execdir=./bin
pkgdatadir=./support-files
else
bindir="$basedir/b
Hi All,
if this script is in scripts by default, why does it have the following
code,
test -z "$ldata" && ldata=./data
if test -z "$basedir"
then
basedir=.
bindir=./bin
execdir=./bin
pkgdatadir=./support-files
else
bindir="$basedir/bin"
if test -x &quo
or directory
> names ?
>
> Sample (datadir and basedir) :
>
> mysql> SHOW VARIABLES LIKE '%dir%';
> ++
Hello MySQL Fans,
This time I am using 4.0.13-max (tar format from www.mysql.com) on
Redhat 9.
I have an understanding question why would the command SHOW VRAIABLES
give me once the real output and once the symlink ouput for directory
names ?
Sample (datadir and basedir) :
mysql> S
g.sys'
020324 14:38:06 Aborting
lrwxrwxrwx 1 root mysql 39 Mar 24 11:53 mysql ->
mysql-max-4.0.1-alpha-pc-linux-gnu-i686
drwxrwxr-x 13 mysql mysql 516 Dec 23 16:45
mysql-max-4.0.1-alpha-pc-linux-gnu-i686
drwxr-xr-x 2 root root 35 Jan 18 2001 share
>How-To-Repeat: See local fix
>Fix: In
Hi Todd,
> 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
errcode 2 = no such file or directory
> Setting datadir=/var/lib/mysql
>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:3