You could find out with which version of mysql client has been compiled
your bacula with the following command

# ldd /usr/sbin/bacula-dir | grep mysql
        libmysqlclient.so.18 => /lib64/libmysqlclient.so.18
(0x00007f07abe3d000)


# rpm -qf /lib64/libmysqlclient.so.18
Percona-Server-shared-55-5.5.43-rel37.2.el7.x86_64

On Thu, Aug 6, 2015 at 3:47 PM, Heitor Faria <hei...@bacula.com.br> wrote:

> Hey Heitor,
>
>  Actually to 1, no they are not. I have mariadb-5.5.41 on the bacula
> server (client side) and mariadb 10 on the db server. I might try upgrading
> the client on the bacula server tomorrow. I don't have SELinux enabled
> anywhere currently. I probably will enable that tho once I get everything
> working.
>
> Most important of all is to know what MySQL / MariaDB development
> libraries were used to build you Bacula binaries. You may want / need to
> update Bacula with binaries built from source:
> http://bacula.us/compilation/
>
> Regards,
> ===========================================================================
> Heitor Medrado de Faria - LPIC-III | ITIL-F |  Bacula Systems Certified
> Administrator II
> Do you need Bacula training?
> https://www.udemy.com/bacula-backup-software/?couponCode=bacula-list
> +55 61 <%2B55%2061%202021-8260>8268-4220 <%2B55%2061%208268-4220>
> Site: http://bacula.us FB: heitor.faria
> <http://www.facebook.com/heitor.faria>
> ===========================================================================
>
>
> I'll try to update you guys tomorrow.
>
> Thanks for all your input!
>
> Tim
>
> On Wed, Aug 5, 2015 at 8:45 AM, Heitor Faria <hei...@bacula.com.br> wrote:
>
>>
>>> Em ter, 4 de ago de 2015 às 23:01, Tim Dunphy <bluethu...@gmail.com>
>>> escreveu:
>>>
>>>> Hey Ana,
>>>>  Nice to hear from you!
>>>>
>>>> Tried that:
>>>>
>>>>
>>>> Catalog {
>>>>   Name = MyCatalog
>>>> # Uncomment the following line if you want the dbi driver
>>>>   #dbdriver = "dbi:mysql"; dbaddress = "db.example.com"; dbport = 3306
>>>>   dbname = "bacula";  dbuser = "admin_ssl"; dbpassword = "secret";
>>>> dbaddress = "db.example.com"; dbport = 3306
>>>> }
>>>>
>>>> And restarted. Same result unfortunately! :(
>>>>
>>>> [root@ops:~] #tail -f /var/log/bacula/bacula.log
>>>> Database=bacula User=admin_ssl
>>>> MySQL connect failed either server not running or your authorization is
>>>> incorrect.
>>>> 05-Aug 01:59 bacula-dir ERROR TERMINATION
>>>> Please correct configuration file: /etc/bacula/bacula-dir.conf
>>>> 05-Aug 01:59 bacula-dir JobId 0: Fatal error: Could not open Catalog
>>>> "MyCatalog", database "bacula".
>>>> 05-Aug 01:59 bacula-dir JobId 0: Fatal error: mysql.c:210 Unable to
>>>> connect to MySQL server.
>>>> Database=bacula User=admin_ssl
>>>> MySQL connect failed either server not running or your authorization is
>>>> incorrect.
>>>> 05-Aug 01:59 bacula-dir ERROR TERMINATION
>>>> Please correct configuration file: /etc/bacula/bacula-dir.conf
>>>>
>>> 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. =)
>>
>> Just ignore 2 and 3. I forgot you can connect with calling the client
>> directly.
>>
>>
>>>> Any more ideas?
>>>>
>>>> Thanks,
>>>> Tim
>>>>
>>>>
>>>>
>
>
> --
> GPG me!!
>
> gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
>
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> 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