MySQL.SOCK Location in NDO2DB

Ken Netzorg knetzorg at gmail.com
Mon Mar 30 14:09:50 CEST 2009


Hopefully this question can be posted here as I haven't found a group
specific to NDO2DB  =)
I just installed NDO2DB and am looking to put the data into a MySQL DB on
the same server using UNIX socks. MySQL has been configured to put the sock
file in /tmp/mysql.sock but when I start NDO2DB, it is looking for the file
in /var/lib/mysql/mysql.sock.

I have looked through the ndo2db.cfg file and cannot fine a location to
specify where ndo2db should look to find the sock file. Is there an
undocumented line I can add to override the default location? I know I can
always fall back to adding a link myself in the /var/lib/mysql directory to
/tmp, but I'd rather not go that route and have soft links here and there
and just configure it through the central config file. (I've already
specified the override location through the mysql.default_socket directive
in the PHP.INI file and PHP is working fine.)

I looked at the ./configure --help output and it doesn't look like I can
configure it through re-compiling....

Thoughts?

Thanks!
Ken
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090330/fed65ede/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list