Fog SQL Password



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


  • Developer

    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


  • Senior Developer

    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.


  • Senior Developer

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


Log in to reply
 

388
Online

38981
Users

10712
Topics

101676
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.