Mojn Alf, [root@Erik-PC ~]# grep dbname /etc/bacula/bacula-dir.conf dbname = "bacula"; dbuser = "bacula"; dbpassword = ""
As f as I know this is the way it should be but see what I get: [root@Erik-PC ~]# mysql --user bacula -p bacula Enter password: ERROR 1044 (42000): Access denied for user ''@'localhost' to database 'bacula' However: [root@Erik-PC ~]# mysql --user root -p bacula Enter password: Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Welcome to the MariaDB monitor. Commands end with ; or \g. Your MariaDB connection id is 649 Server version: 10.3.20-MariaDB MariaDB Server Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. MariaDB [bacula]> quit; Bye I tend to believe that grant_mysql_privileges is failing to grant user bacula the required authorisation. I wonder if it is possible to repair this situation but I know nothing about how to do that with sql commands. -- Erik P. Olsen - Copenhagen, Denmark Fedora 30/64 bit Linux xfce Claws-Mail POP3 Gramps 5.1.1 Bacula 9.4.4 On 2019-12-17 at 14:44:17 Alf Normann Klausen wrote: > It your database is up and running you probably found the solution, yes. > The bacula-dir.conf Catalog stanza contains the database access > credentials. > > Try to find the password in the config-file, and check if you can log on > using this password: > # grep dbname /etc/bacula/bacula-dir.conf > > Check the password with the following command (you will be asked for the > password) > # mysql --user bacula -p bacula > _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users