1
0
-1

Version audit 3.5.0

A Database Error Occurred

<p>Unable to connect to your database server using the provided settings.</p><p>Filename: core/Loader.php</p><p>Line Number: 347</p>

Restart and normal

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      I'm unsure if you're running Windows or Linux for the Open-AudIT server, but try the appropriate command below.

      Windows

      c:\xampp\mysql\mysql.exe -u openaudit -popenauditpassword openaudit -e "SELECT value FROM configuration WHERE name = 'internal_version'";

      Linux

      mysql -u openaudit -popenauditpassword openaudit -e "SELECT value FROM configuration WHERE name = 'internal_version'";

      That should return a value (for 3.5.0 it would be 20200810.

      If the command does not work, then either MySQL is not running or the credentials have changed.

      If it does work, then Open-AudIT should work.

      1. tac tac

        It still doesn't work. I'm viewing the log

        +----------+
        | value |
        +----------+
        | 20200810 |
        +----------+


      2. Mark Unwin

        Can you view any pages in Open-AudIT?

        Is it only  the log page you cannot view?

      3. Mark Unwin

        What page are you seeing that on?

        What is the URL?

      4. Mark Unwin

        OK, so no pages work I'm assuming.

        But the command line works.

        When did it stop working and at that time, what changed on the server?

        Have you changed the config file at open-audit\code_igniter\application\config\config.php ?

        Something has changed to cause this. You need to determine what.

        Have you changed the MySQL configuration?

        Have you changed the firewall?

      5. tac tac

        System centos7
        The default installation does not change any settings
        Currently observing VM esxi

      CommentAdd your comment...