Re: [Bacula-users] error connecting to database
2015-08-05 08:44:49
Hello Tim, Nice to hear from you too!
:-D
Is this the same?
dbname = "bacula"; dbuser = "admin_ssl"; dbpassword = "secret"; dbaddress = " db.example.com"; dbport = 3306
Yep! It's exactly the same in my config: bname = "bacula"; dbuser = "admin_ssl"; dbpassword = "secret"; dbaddress = " db.example.com"; dbport = 3306
This is your second try (from your first post), including dbport directive (I just saw this in your first try).
Also, could you try the mysql this way?
#mysql -uadmin_ssl -p -h db.example.com -P 3306 -D bacula -e "show tables"
Sure! And that works! [root@ops:~] #mysql -uadmin_ssl -p -h db.example.com -P 3306 -D bacula -e "show tables" | head -5 Enter password: Tables_in_bacula BaseFiles CDImages Client Counters Still unclear as to why this isn't working unfortunately. Still open to more ideas. :-)
Tim
1. Is your remote MySQL server version the same installed in your Bacula Server? 2. From your Bacula server can you "telnet ip_address 3306" your MySQL server? 3. Do you have selinux or iptables enabled at MySQL Server? Someone wrote that never had problems with selinux. Neither do I, since I always disable it. =) ------------------------------------------------------------------------------
_______________________________________________ Bacula-users mailing list Bacula-users AT lists.sourceforge DOT net https://lists.sourceforge.net/lists/listinfo/bacula-users
------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|