Bacula-users

Re: [Bacula-users] Questions about a mysql configuration issue I encountered

2013-04-25 15:08:31
Subject: Re: [Bacula-users] Questions about a mysql configuration issue I encountered
From: Marc Chamberlin <marc AT marcchamberlin DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 25 Apr 2013 12:03:36 -0700
On 4/25/2013 9:14 AM, compdoc wrote:
>> OpenSuSE12.3 is no longer
>> supplying MySQL. Instead they are supplying MariaDB which is supposed
>> to be 100% compatible with MySQL (so they claim).
> If its compatible, then it should accept the same commands as mysql. What
> happens if you type:
>
> mysql -u root -p
>
>
At a command prompt, MariaDB and MySQL ARE identical. Executing the command

mysql -u root -p

to start mysql works, as you showed/asked me to type it.

BUT, that does not mean that what got passed in as a parameter 
specifying the database type, to the make_catalog_backup script when it 
was called, was in fact 'mysql'  I do not know HOW the value of the 
database type is determined, for this particular parameter, nor why it 
is even truly necessary to be passing in the database type to this 
script. (Are there bacula configurations running on the same system 
interacting with multiple database types?) What I can tell you is, that 
whatever the value of the database type parameter, that was passed in to 
the make_catalog_backup script, it was not recognized within that script 
as a valid/known database type. (hence I wonder if the value was 
'mariadb' instead of 'mysql', which would be causing the behavior that I 
am seeing.) Since the value of the passed in parameter, for the database 
type, was not recognized, the make_catalog_backup script defaulted to 
using PostgreSQL instead.

     Marc..

-- 
"The Truth is out there" - Spooky


------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users