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

Fog SQL Password

Scheduled Pinned Locked Moved Solved
FOG Problems
3
4
3.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
    Scott B
    last edited by Jul 2, 2015, 1:15 PM

    How or where do I find out what the password would be for the fog user that manages the fog DB created during install?

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Jul 2, 2015, 1:27 PM

      FOG Configuration->FOG Settings->FOG Storage Nodes->FOG_STORAGENODE_MYSQLUSER/FOG_STORAGENODE_MYSQLPASS

      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 1
      • T
        Tom Elliott
        last edited by Jul 2, 2015, 1:29 PM

        That is for storage nodes.

        There is not one set during the install of a server. The User is: root. Typically the password is blank, though you can set one yourself if you feel it necessary. If you do set a password, and/or decide a separate user should be handling it:

        1. Create the user and password as necessary ensuring that this user has rights to the fog database.

        2. In /opt/fog/.fogsettings set the snmysqluser to the username you chose. Set the snmysqlpass to the password you chose. (This will not have an immediate impact, but will ease your workload if you decide to update at any time.)

        3. In /var/www/fog/lib/fog/Config.class.php edit the DATABASE_USERNAME and DATABASE_PASSWORD fields to reflect your new changes.

        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 1
        • T
          Tom S Developer
          last edited by Jul 2, 2015, 1:31 PM

          I would check out /opt/fog/.fogsettings
          The file is hidden so you will need to show hidden files ctrl+h
          Checking my settings I do not see a fog user as a local db user. it will use root by default or a user that you specified during install

          Hope that helps

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

          191

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project