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

    Fog Server - Database Access Problem

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    2
    4
    1.3k
    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.
    • M
      Motech09
      last edited by

      Server
      • FOG Version: 13
      • OS: Ubuntu 16.04
      Client
      • Service Version:
      • OS:
      Description

      Updated to the trunk version of Fog a year ago or so (SVN Revision 5948) and all has been well but this morning a co-worker noticed an update message when he accessed the Fog web gui but was unsure about it and closed out the message box. Now, we are getting the below message:

      Database Schema Installer / Updater
      Your database connection appears to be invalid. FOG is unable to communicate with the database. There are many reasons why this could be the case. Please check your credentials in /var/www/fog/lib/fog/config.class.php. Also confirm that the database is indeed running. If credentials are correct, and the Database service is running, check to ensure your filesystem has enough space.

      Any ideas?

      The database password hasn’t changed. I restarted the MYSQL database. Drive space is fine.

      1 Reply Last reply Reply Quote 0
      • M
        Motech09
        last edited by

        Nevermind, I fixed it.

        Jaymes DriverJ 1 Reply Last reply Reply Quote 0
        • Jaymes DriverJ
          Jaymes Driver Developer @Motech09
          last edited by

          @Motech09 said in Fog Server - Database Access Problem:

          Nevermind, I fixed it.

          What was wrong and how you fixed it really helps others in their troubleshooting/resolution.

          WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

          M 1 Reply Last reply Reply Quote 0
          • M
            Motech09 @Jaymes Driver
            last edited by

            @Jaymes-Driver

            Late response, I know, but you’re right. I think the Ubuntu updated itself and reverted a change I had made with the link below. I had to go back in and blank out the SQL password again:

            Is this Ubuntu 16.04? See here: https://wiki.fogproject.org/wiki/index.php?title=Ubuntu_16.04#MySQL_password_behavior

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

            181

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project