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

Fog Fails to Connect to Database

Scheduled Pinned Locked Moved
General
4
6
2.5k
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 Feb 24, 2012, 3:17 AM

    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 Feb 24, 2012, 4:31 AM

      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 Feb 24, 2012, 12:03 PM

        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 Feb 25, 2012, 1:19 AM

          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
          • F
            falko Moderator
            last edited by Feb 25, 2012, 11:58 AM

            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 Mar 19, 2012, 10:20 PM

              [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

              117

              Online

              12.1k

              Users

              17.3k

              Topics

              155.3k

              Posts
              Copyright © 2012-2024 FOG Project