unable to upgrade bacula database from 14 to 15

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

unable to upgrade bacula database from 14 to 15

Thing
root@vuwunicobculat1:/etc/bacula# /usr/share/bacula-director/update_mysql_tables -u root -p
 
This script will update a Bacula MySQL database from version 12-14 to 15
 
Depending on the current version of your catalog,
you may have to run this script multiple times.
 
Enter password:
ERROR 1049 (42000): Unknown database 'XXX_DBNAME_XXX'

Unable to detect database version, you can specify connection information
on the command line.
Error. Cannot upgrade this database.
root@vuwunicobculat1:/etc/bacula#


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/bacula-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: unable to upgrade bacula database from 14 to 15

Daniel Heitepriem
Hi,

what is your database name of your catalog database? If you open "update_mysql_tables" with an editor you can see that there is a line called

"db_name=bacula"

which is used further down to access the database. If your catalog has another name you have to adjust it in the script.

Regards,
Daniel

Am 20.07.17 um 23:15 schrieb Thing:
root@vuwunicobculat1:/etc/bacula# /usr/share/bacula-director/update_mysql_tables -u root -p
 
This script will update a Bacula MySQL database from version 12-14 to 15
 
Depending on the current version of your catalog,
you may have to run this script multiple times.
 
Enter password:
ERROR 1049 (42000): Unknown database 'XXX_DBNAME_XXX'

Unable to detect database version, you can specify connection information
on the command line.
Error. Cannot upgrade this database.
root@vuwunicobculat1:/etc/bacula#



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


_______________________________________________
Bacula-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/bacula-users

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/bacula-users
Loading...