Pandora FMS Community

How to specify mysql path, diferent than standard?

paul.mercea · 24 nov 2010, 17:32 · 2 mensajes · 93 visitas

  1. Inicio del debate

    How can I specify the mysql path if my mysql installation is not in /var/lib/mysql ???? Current installation is in /opt/lampp/var/lib/mysql ! I get this error in pandora_server.log: 2010-11-24 08:00:20 - localhost Starting Pandora FMS Server. Error logging activated. DBI connect('pandora:localhost:3306','pandora',...) failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) at /usr/lib/perl5/PandoraFMS/DB.pm line 65 Another issue is mysql port, only 3306 can be used! There is a way to specify another port? like 3307 ?

  2. The 3306 port is set in the connection string code in a lot of .pl and.pm files in the pandora server diretory . You can do a search and replace. There is no $db_port=3306 in the configuration file, sorry. As far as I know, the error is given by mysql, no Pandora. Maybe the problem is due to the port 3306 not listening.

Entra en tu cuenta para publicar.