Pages: [1]   Go Down
Author Topic: How to specify mysql path, diferent than standard?  (Read 399 times)
0 Members and 1 Guest are viewing this topic.
paul.mercea
Newbie
*

Karma: 0
Offline Offline

Posts: 1


View Profile
« on: November 24, 2010, 02:32:57 PM »

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 ?
Logged

raul
Administrator
Expert member
*****

Karma: 1
Offline Offline

Posts: 576



View Profile
« Reply #1 on: November 29, 2010, 04:02:31 PM »

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.

Logged

Pages: [1]   Go Up
Print
 
Jump to:  


SourceForge.net Logo  This site is monitored by Pandora FMS   ArticaST