On Thursday, 3 August 2023 08:35:39 BST Graham Dicker via Bacula-users wrote: > On Wednesday, 2 August 2023 17:21:49 BST Phil Stracchino wrote: > > On 8/2/23 11:12, Graham Dicker via Bacula-users wrote: > > > Hello > > > > > > I am installing Bacula 13.0.2 on Opensuse 15.5 and get this problem when > > > I > > > run grant_mysql_privileges: > > > > > > ERROR 1064 (42000) at line 3: You have an error in your SQL syntax; > > > check > > > the manual that corresponds to your MariaDB server version for the right > > > syntax to use near '%{db_user}@"%"' at line 1 > > > > > > Database version 10.6.14-MariaDB > > > > > > I guess it's complaining about the statement > > > > > > db_user=${db_user:-bacula} > > > > > > Can anyone help with this please? > > > > What does the line 'echo "Created MySQL database user: ${db_user}"' > > report as the value of ${db_user}? > > It reports just the single word bacula > > Graham It doesn't actually create the user bacula either although when I run the script it says it has created it.
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users