NetXMS Support Forum

English Support => General Support => Topic started by: samueleorso on April 24, 2008, 01:39:10 PM

Title: Connect to mysql db listening on no default port
Post by: samueleorso on April 24, 2008, 01:39:10 PM
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..
Title: Re: Connect to mysql db listening on no default port
Post by: Victor Kirhenshtein on April 24, 2008, 03:29:58 PM
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
Title: Re: Connect to mysql db listening on no default port
Post by: samueleorso on April 28, 2008, 03:57:02 PM
Hi Victor,
thanks a lot for your response.. Tomorrow I'll try the configuration suggested..