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

Sql Error

Scheduled Pinned Locked Moved
FOG Problems
2
5
1.2k
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.
  • D
    dureal99d
    last edited by Jul 27, 2016, 11:04 PM

    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/html/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.

    Is the error i get when i attempt to update the schema. ive tried the steps here and no go.

    what am i doing wrong?

    i am running ubuntu 16:04 cant access schema update or nothing

    1 Reply Last reply Reply Quote 0
    • W
      Wayne Workman
      last edited by Wayne Workman Jul 27, 2016, 5:29 PM Jul 27, 2016, 11:28 PM

      Check server space with
      df -h
      Restart mysql with
      service mysql restart

      Also,
      You need php 7 and modified mysql pass on Ubuntu 16. I’ll find those and post.

      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
      • D
        dureal99d
        last edited by dureal99d Jul 27, 2016, 5:34 PM Jul 27, 2016, 11:31 PM

        Yeah, I ran the new update wizard for fog off the wiki and it starts up just fine.

        really weird, so weird, i dont even know how to explain what occured or how it got fixed.

        I do think it had something to do with space as i ran this command “rm -rf /home/*.BACKUP” as root so i could clear up space. so im gonna upgrage to a bigger drive like 2 or 3 tb that should do.

        as always thank you Mr Wayne

        1 Reply Last reply Reply Quote 1
        • W
          Wayne Workman
          last edited by Jul 27, 2016, 11:54 PM

          These are the only two alterations necessary for installing FOG Trunk on a clean build of Ubuntu 16.

          • When you are ready, run the installer with php_ver='7.0' php_verAdds='-7.0' ./installfog.sh
          • When the installer asks you to update the database, there’s 1 extra step. (in another SSH session) Go to mysql and modify the password setting with ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '';
          • Then you go to the web interface and update the DB as normal, come back to the installer and complete it as usual.

          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/

          D 1 Reply Last reply Jul 28, 2016, 12:01 AM Reply Quote 0
          • D
            dureal99d @Wayne Workman
            last edited by Jul 28, 2016, 12:01 AM

            @Wayne-Workman Ok.

            That what i did and then i re-ran the installer and it worked. Thank You!!

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

            175

            Online

            12.1k

            Users

            17.3k

            Topics

            155.3k

            Posts
            Copyright © 2012-2024 FOG Project