Thanks, that could very well be it:

[erik@Erik-PC ~]$ mysql bacula -u bacula -p
Enter password: 
ERROR 1044 (42000): Access denied for user ''@'localhost' to database 'bacula'
[erik@Erik-PC ~]$

But then:

[erik@Erik-PC ~]$ mysql bacula -u root -p
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 194
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]> show databases;
+--------------------+
| Database           |
+--------------------+
| bacula             |
| information_schema |
| mysql              |
| performance_schema |
| test               |
+--------------------+
5 rows in set (0.001 sec)

MariaDB [bacula]> quit;
Bye
[erik@Erik-PC ~]$ 

So it doesn't like user bacula. How can I change it to accept user bacula?

-- 
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-16 at 15:34:56 Alf Normann Klausen wrote:

> Dear Eric,
> 
> In your email of 7th of December I can see this output:
> 
> Dec  7 11:04:00 Erik-PC bacula-dir[1196]: bacula-dir: dird.c:1234-0 
> mysql.c:268 Unable
> to connect to MySQL server. Dec  7 11:04:00 Erik-PC bacula-dir[1196]: 
> Database=bacula
> User=bacula Dec  7 11:04:00 Erik-PC bacula-dir[1196]: MySQL connect failed 
> either
> server not running or your authorization is incorrect.
> 
> 
> Is this why your bacula-dir fails?
> 
> 
> Regards, Alf
> 
> 
> 
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

 




_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to