Title: RE: [Bacula-users] RE: Database creation

As requested I got this

Which mysql
/usr/bin/mysql
Echo $PATH
/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin

Cheers

Sakaio P Manoa
SOPAC  South Pacific Applied Geoscience Commission

Postal Address:  Private Mail Bag, GPO, Suva, Fiji Islands
Street Address :  Mead Road, Nabua, Fiji Islands
Tel: +679 338 1377, Fax: +679 337 0040
E-Mail: <mailto:[EMAIL PROTECTED]>:  Web site: <http://www.sopac.org/>

Note that the gateway to our mail server limits the size of inwward and
outward messages with attachments to 1.5MB.  I you need to send or receive
larger messages apply compression, convert to PDF files or logically split.

This e-mail is intended for its named recipients only.  The author is no
longer responsible if you forward this e-mail to other parties.  The views
expressed in this e-mail may not be the views of SOPAC.

-----Original Message-----
From: Rowdy [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 15, 2005 9:51 AM
To: Sakaio Manoa
Subject: Re: [Bacula-users] RE: Database creation

Sakaio Manoa wrote:
> So to specify the path you need to include for example in your case
> your path [/usr/local/bin/mysql]in the ./configure
> -with-mysql=/usr/local/bin/mysql?
>
> Is that how you specify the path?
>
>
> Cheers
>
> Sakaio P Manoa

It's actually a reference to the shell's PATH variable.  Your mysql
binary is apparently in /usr/local/bin so that path should be somewhere
in your PATH variable.

giraffe# which mysql
/usr/local/bin/mysql

giraffe# echo $PATH
/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin

My mysql binary is also in /usr/local/bin, that directory is in PATH, so
the shell can find it.

Could you post the output from those two commands pls:

which mysql
echo $PATH

Alternatively if you edit the make_mysql_tables script and where it runs
mysql you should explicitly add the full path to the mysql binary.  Note
that this is a hack, and should not really be needed, but should help
you work around this problem.

Rowdy

Reply via email to