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

"Database connection unavailable" during installation script "install/update database schema"

Scheduled Pinned Locked Moved Unsolved
Linux Problems
3
3
987
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.
  • C
    coryjfowler
    last edited by coryjfowler Sep 26, 2018, 11:09 AM Sep 26, 2018, 5:08 PM

    I installed a fresh Debian installation yesterday and followed the instructions for FOG found here today.

    I get to the point where the installation script informs me that I need to install/update the database schema, but I am met with the “Database connection unavailable” message on my web browser when I navigate to the link provided.

    The mysql troubleshooting page leads me to believe the fog database does not exist, but does not appear to mention what my next step should be…

    #uname -a
    Linux fogtest 4.9.0-7-amd64 #1 SMP Debian 4.9.110-3+deb9u2 (2018-08-13) x86_64 GNU/Linux

    G 1 Reply Last reply Sep 26, 2018, 6:12 PM Reply Quote 0
    • G
      george1421 Moderator @coryjfowler
      last edited by Sep 26, 2018, 6:12 PM

      @coryjfowler Well lets start with:

      1. Is mysql running?
        ps aux|grep mysql
      2. can you log into the mysql client using
        mysql -u root -p and then press enter at the password prompt?

      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!

      1 Reply Last reply Reply Quote 0
      • M
        matijn
        last edited by Sep 27, 2018, 12:33 PM

        You have to set a (very strong) mysql password first, topic:

        https://forums.fogproject.org/topic/12445/please-help-ubuntu-updates-screwed-up-my-mysql-root-password/7

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

        214

        Online

        12.0k

        Users

        17.3k

        Topics

        155.2k

        Posts
        Copyright © 2012-2024 FOG Project