Welcome to Pandora FMS Community!

Find answers, ask questions, and connect with our community around the world.

  • MySQL password change

    Posted by dsun on July 21, 2014 at 19:32

    A quick question about MySQL account password changes.

    There is the user account pandora in MySQL with the default password as shown in the /etc/pandora/pandora_server.conf file.  I can change the password in MySQL using the following command in MySQL:

    update user set password=PASSWORD(“newpass”) where User=’ENTER-USER-NAME-HERE’;

    After that, I update the password in the /etc/pandora/pandora_server.conf file.  However, after doing both of those steps, Pandora stops working- when I refresh the browser, the page doesn’t come up.  When I change the password back, things resume fine.

    Am I missing a step somewhere on this?

    Thanks.

    dsun replied 10 years, 9 months ago 2 Members · 2 Replies
  • 2 Replies
  • ivo_yordanov

    Member
    July 22, 2014 at 15:27
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hello

    You need to change the password setting in the following file as well:

    /var/www/html/pandora_console/include/config.php

    Regards
    Ivo

  • dsun

    Member
    July 23, 2014 at 08:56
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Thanks thank worked!  May I suggest that the documentation be updated with this?  In all the documentation I read, I only saw the reference to the /etc/pandora/pandora_server.conf file.  Maybe I missed it but I did read a lot before asking here.