Connect to mysql db listening on no default port

Started by samueleorso, April 24, 2008, 01:39:10 PM

Previous topic - Next topic

samueleorso

Hi,
my backend mysql database is installed on the same server of NetXms 0.2.20 but is listening on port 3307 (3306 is the default), because the server has another mysql version installed.
Is it possible to configure netxms to connect database using this new port? Which file do I have to change?

Thanks a lot in advance..

Victor Kirhenshtein

Hello!

Currently it's not possible without patching mysql dat5abase driver in NetXMS. However, because you are running MySQL server on the same machine, you can use UNIX sockets for communications. Just specify socket:path instead of host name in DBServer parameter.

Best regards,
Victor

samueleorso

Hi Victor,
thanks a lot for your response.. Tomorrow I'll try the configuration suggested..