• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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 Feb 5, 2019, 6:14 PM

    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
    • G
      george1421 Moderator
      last edited by Feb 5, 2019, 6:30 PM

      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 Feb 7, 2019, 6:55 PM Reply Quote 1
      • S
        steharv @george1421
        last edited by Feb 7, 2019, 6:55 PM

        @george1421 Thanks all sorted!

        1 Reply Last reply Reply Quote 0
        • J
          Jimmy Vanden Eynde
          last edited by Sep 16, 2019, 5:16 PM

          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

          155

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project