Gregory Orange wrote:

Hi, new to using Bacula.

When initially setting up, on ./bacula start, I get the message that it can't connect to the mysql database, and it's probably a password problem. Not so, I discovered that it was a socket problem, ie bacula was looking for /var/lib/mysql/mysql.sock, whereas mysql here is using /tmp/mysql.sock

A workaround was to change the mysql config to use /var/lib/mysql/mysql.sock - and it worked instantly. But that's a system change that Bacula surely shouldn't require.

I haven't been able to find any reference - be it in config files, run scripts, or even in the source code - to where the socket location is set. Any ideas?

Cheers,
Greg.


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Hi Greg,

Different distributions and installation methods put the socket in different places. Bacula can't take that into account as it may be different on every machine it is installed on.

Regards

--

David Logan
South Australia

when in trouble, or in doubt
run in circles, scream and shout



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to