Hi,
 Do you have mysql installed? if yes, where is located
the mysql binary ? I am asking because, acording to
your error message, apears that the script does not
find the mysql executable
"bindir=/usr/bin

if $bindir/mysql $* -f <<END-OF-DATA
CREATE DATABASE bacula;
END-OF-DATA"
this a part of the create_mysql_database script on a
redhat linux system.
so, depending on your way of mysql installation, the
binary could be located in /usr/local/bin...and if so,
you need only to change the value of "bindir"
variable.
Cheers and I hope it serves you.
Attila

--- Sakaio Manoa <[EMAIL PROTECTED]> wrote:

> I got the scripts - create_mysql_database and the
> make_mysql_tables but
> where exactly do I run them cos I have been trying
> to run them and I got
> this;
> 
> [EMAIL PROTECTED] bacula]# ./create_mysql_database
> ./create_mysql_database: line 8: /mysql: No such
> file or directory
> Creation of bacula database failed.
> 
> Any pointers is very much appreciated
> 
> 
> 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: Tuesday, June 14, 2005 10:32 AM
> To: Sakaio Manoa
> Cc: 'Dan Langille';
> 'bacula-users@lists.sourceforge.net'
> Subject: Re: [Bacula-users] RE: Database creation
> 
> Sakaio Manoa wrote:
> > Thanks,
> > 
> > Here is the configuration I ran:
> > 
> > ./configure \
> >   --prefix=/usr \
> >   --sbindir=/usr/sbin \
> >   --sysconfdir=/etc/bacula \
> >   --with-scriptdir=/etc/bacula \
> >   --enable-smartalloc \
> >   --enable-gnome \
> >   --with-mysql \
> >   --with-working-dir=/var/bacula \
> >   --with-pid-dir=/var/run \
> >   --with-subsys-dir=/var/lock/subsys \
> >   --enable-conio
> > 
> > I ran the make then the make install - After
> running these commands - 
> > under the /etc/bacula a number files like the
> bacula-dir.conf, 
> > fd.conf, sd.conf and other files as described in
> the manual have been
> created.
> > 
> > Now do I still need to do anything else to specify
> MYSQL to bacula?
> > 
> > Cheers
> 
> Have you also run make_mysql_tables?
> 
> On FreeBSD the two (create_mysql_database and
> make_mysql_tables) are
> different scripts and have to be run separately.
> 
> Rowdy
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to