On 7/7/23 19:35, Phil Stracchino wrote:
Then re-update it again, but BEFORE you rerun the updater, find
update_mysql_tables_1021_to_1022 and change every instance of CREATE
TABLE to CREATE TABLE IF NOT EXISTS.  That will make sure that if
something else is happening along the way that is creating those tables
before they're expected, then the CREATE TABLE will be skipped, instead
of the script failing.


The *other* way you could do this is to insert a 'DROP TABLE IF EXISTS <name>;' before each 'CREATE TABLE <name> (...' statement.


--
  Phil Stracchino
  Babylon Communications
  [email protected]
  [email protected]
  Landline: +1.603.293.8485
  Mobile:   +1.603.998.6958



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

Reply via email to