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

    Database Update/Install Failed!

    Scheduled Pinned Locked Moved
    FOG Problems
    database error installation mysql installer
    3
    4
    2.8k
    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.
    • P
      Ph3noM
      last edited by Ph3noM

      Hello everybody!

      I’m trying to install Fog 1.2.0 on a Debian 8 Jessy,
      But when i upgrade (from a browser) the database, it fails and I get this message:
      http://image.noelshack.com/fichiers/2015/52/1450814349-fog-bdd-error.png

      I don’t know what to do, i tried to re-install debian ( 7 & 8 ), but always the same problem.

      I hope someone will help me, and pardon my english. 😅
      (I have not found solution on the web…)

      Thanks guys !

      1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott
        last edited by

        Please try looking at the /opt/fog/.fogsettings file and edit the snmysqlhost field to be either local host or the IP address of your fog server then try again.

        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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 0
        • P
          Ph3noM
          last edited by

          I just install mysql-client and -server on a new vm before starting the fog installation aaaaand it works! 😁
          But when i look at the snmysqlhost field, it’s empty… Is it normal?

          Anyway thank you very much for your prompt response!

          Wayne WorkmanW 1 Reply Last reply Reply Quote 0
          • Wayne WorkmanW
            Wayne Workman @Ph3noM
            last edited by Wayne Workman

            @Ph3noM Fog doesn’t set a DB password - if fog sets up the DB on a new server, it’s left blank. The installer (at least in FOG 1.3.0 beta) asks you for a DB password just in case you set one in the back end. And of course if that’s the case (and 99% of the time it is) then the field in /opt/fog/.fogsettings would be blank as well.

            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!
            Daily Clean Installation Results:
            https://fogtesting.fogproject.us/
            FOG Reporting:
            https://fog-external-reporting-results.fogproject.us/

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

            189

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project