• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Database connection unavailable

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    4
    1.4k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      steharv
      last edited by

      Hi there folks!

      Have our fog server running on Windows 10 via Virtual Box (ubuntu) for several months now, with no issues. However, all of a sudden I am getting “Database connection unavailable” message when I attempt to log into the fog admin interface. Hence cannot image machines either.

      I have several snapshots taken as backup measures but even I I restore to these the same thing happens?

      Does anyone know why this is happening?

      Many thanks

      1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator
        last edited by

        See if the steps outline here addresses your issue: https://forums.fogproject.org/topic/10006/ubuntu-is-fog-s-enemy

        This is usually the case when fog has been working all along and then it stops for no reason with a database connection issue.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

        S 1 Reply Last reply Reply Quote 1
        • S
          steharv @george1421
          last edited by

          @george1421 Thanks all sorted!

          1 Reply Last reply Reply Quote 0
          • J
            Jimmy Vanden Eynde
            last edited by

            for me using ubuntu server 18.04.03 LTS running MariaDB 10.1.41 and FOGPROJECT 1.5.7

            this was the final solution

            with the installation / upgrade of fogproject choose a password for mysql : type_here_your_fog_database_password

            then make sure that password is the same as your mysql database:

            login to mysql root with command = mysql -u root

            then use following command to make passwords match fogproject

            SET PASSWORD FOR ‘root’@‘localhost’ = PASSWORD(‘type_here_your_fog_database_password’);

            Greetings

            Jimmy

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post

            162

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project