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

    Fog Fails to Connect to Database

    Scheduled Pinned Locked Moved
    General
    4
    6
    2.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.
    • F
      FoxGuy
      last edited by

      When ever I install fog on Ubuntu server I get this message that says fog fail to connect to database. What should I do to fix this.

      [ATTACH=full]45[/ATTACH]

      also I am having a problem pulling and image I get this error that say can not move /images/dev/(computers mac) to /images/(computer image) any way to fix this.

      [url=“/_imported_xf_attachments/0/45_fog.JPG?:”]fog.JPG[/url]

      1 Reply Last reply Reply Quote 0
      • K
        Kevin
        last edited by

        Did you add a password to the SQL portion of the install when you installed FOG? Or did you leave it blank?

        "The quieter you become, the more you are able to hear"

        New to FOG? Check the [URL='http://www.fogproject.org/wiki/index.php/FOGUserGuide']Wiki[/…

        1 Reply Last reply Reply Quote 0
        • F
          FoxGuy
          last edited by

          Yes I add the SQL password to config.php and I am able to connect to the web page. But I still get the same error.

          1 Reply Last reply Reply Quote 0
          • A
            afmrick
            last edited by

            I hear you have to update /opt/fog/service/etc/config.php AND /fog/commons/config.php FWIW.
            [url]http://blog.thefoleyhouse.co.uk/2011/02/fog-free-opensource-ghost-multicast.html[/url]

            1 Reply Last reply Reply Quote 0
            • falkoF
              falko Moderator
              last edited by

              yes you need to edit both of the above paths and add your mysql password to these two files.

              /var/www/fog/commons/config.php and /opt/fog/service/etc/config.php.

              1 Reply Last reply Reply Quote 0
              • F
                FoxGuy
                last edited by

                [quote=“falko, post: 1640, member: 48”]yes you need to edit both of the above paths and add your mysql password to these two files.

                /var/www/fog/commons/config.php and /opt/fog/service/etc/config.php.[/quote]

                Hey Thanks

                I modified the files and it work thanks

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

                150

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project