Bacula-users

Re: [Bacula-users] Can't run bacula any more.

2017-03-12 10:30:23
Subject: Re: [Bacula-users] Can't run bacula any more.
From: "Erik P. Olsen" <epodata AT gmail DOT com>
To: Richard <lists-bacula AT listmail.innovate DOT net>
Date: Sun, 12 Mar 2017 15:29:26 +0100
On 2017-03-12 at 13:54:37 Richard wrote:

> What you need to test for bacula is the existence of the db "bacula"
> and (access to the) tables within that.
> 
> Start with the command:
> 
>    mysql -h <dbhost> -u bacula
> 
> [if you have changed the defaults in the "Catalog" section of your
> bacula-dir.conf you will need to make the necessary adjustments to
> the above.]
> 
> from the machine where you have the bacula-sd installed. If they are
> all on the same (new) machine, then the "-h <dbhost>" part is
> unnecessary.
> 
> This should get you the mysql herald and "mysql>" prompt. Assuming it
> does, issue the command:
> 
>    show databases;
> 
> that should give you a list that includes "bacula". Assuming so, then:
[snip]

mysql -u bacula 

was OK.

show databases;

gave:

+--------------------+
| Database           |
+--------------------+
| information_schema |
| test               |
+--------------------+

So apparently the scripts did not create the bacula database. I'll have
to see why that happened.

Thanks for the information.

--
Regards,
Erik P. Olsen, M.Sc. EE
Solsortvej 30
DK-2000 Frederiksberg
Denmark


------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users