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

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

Reply via email to