It is possible that when attempting to start the service
pandora_server you will find this error in the log. With verbosity 10 you can get this:
DBI connect('pandora:localhost:3306','pandora',...) failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) at /PandoraFMS/DB.pm line 108.
0 you get this other error:
DBI connect('pandora:localhost:3306','pandora',...) failed: Access denied for user 'pandora'@'localhost' (using password: YES) at /PandoraFMS/DB.pm line 113.
In both cases you first need to check if the password is correct. If that is correct it should work. If not, check the MySQL
.sock that exists on this path (
/tmp/mysql.sock ). If that succeeds, link the current MySQL
ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock
And try again. Also, it can help to change in
dbhost parameter using the IP address
127.0.0.1 instead of
localhost. If the path is correct, we must review the login credentials again and see if the MySQL service is running.