On Mon, Jan 6, 2014 at 3:01 AM, scar <s...@drigon.com> wrote:
> hello! i hope someone could help me fix my bacula server that has
> stopped working after i upgraded the system from Ubuntu 10.04 to 12.04.
>  bacula is version 5.2.5-0ubuntu6.2 now.  there were some questions
> during upgrade about configuring/upgrading the database with
> bacula-common-mysql or something but apparently i failed to do that
> correctly and now when i try to start bacula-dir i get this error:
>
> bacula-dir JobId 0: Fatal error: Version error for database "bacula".
> Wanted 14, got 12
>
> so hopefully there is an easy way to re-trigger that script with those
> questions and get the database upgraded?  is it
> /usr/share/bacula-director/update_mysql_tables?  but when i run that it
> tries to connect to the database using 'root' but the user for the
> database is 'bacula' so script isn't right and needs to be modified
> somehow?  not sure what to do here....
>

The script accepts command line parameters that you can enter the user
and password. I believe -u is the user.

John

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to