+ Post New Thread
Results 1 to 4 of 4
O/S Deployment Thread, Setting mysql details? in Technical; The server i'm testing on also has icinga etc so my mysql isn't setup for 'no password' .. anyway I ...
  1. #1

    Join Date
    May 2008
    Posts
    213
    Thank Post
    2
    Thanked 27 Times in 27 Posts
    Rep Power
    17

    Setting mysql details?

    The server i'm testing on also has icinga etc so my mysql isn't setup for 'no password' .. anyway I replaced all the 'words' in /var/www/html/fog/management/index.php with my mysql details apart from this line:

    $dbman = new DBManager

    I had a quick look at the includes and it seems 1 = mysql but this causes the page to be blank (which usually means php script died)?
    Last edited by nicklec; 26th May 2010 at 09:00 AM.

  2. #2

    Join Date
    May 2008
    Posts
    213
    Thank Post
    2
    Thanked 27 Times in 27 Posts
    Rep Power
    17
    Ok making progress...

    Code:
    PHP Fatal error:  Uncaught exception 'Exception' with message 'Query Failed: Table 'fog.globalSettings' doesn't exist' in /var/www/html/fog/lib/db/MySql.db.class.php:149\nStack trace:\n#0 /var/www/html/fog/lib/fog/Core.class.php(85): MySql->executeQuery('SELECT settingV...')\n#1 /var/www/html/fog/management/index.php(69): Core->getGlobalSetting('FOG_DEFAULT_LOC...')\n#2 {main}\n  thrown in /var/www/html/fog/lib/db/MySql.db.class.php on line 149
    This seems kinda odd since its a new install, did it not setup the tables on install because of the lack of an open db?

  3. #3

    Join Date
    May 2008
    Posts
    213
    Thank Post
    2
    Thanked 27 Times in 27 Posts
    Rep Power
    17
    Changed credentials in /var/www/html/fog/commons/config.php and set schemaupdater/index.php to not create db.... nearly there
    Last edited by nicklec; 26th May 2010 at 09:34 AM.

  4. #4

    Join Date
    May 2008
    Posts
    213
    Thank Post
    2
    Thanked 27 Times in 27 Posts
    Rep Power
    17
    Man this is convoluted, ended up using root to do schema update as it was saying 'foguser' didn't have access to db. Does everyone run mysql with no credentials, this is madness?

SHARE:
+ Post New Thread

Similar Threads

  1. Setting network save setting in Kar2ouche
    By Little-Miss in forum Windows
    Replies: 3
    Last Post: 12th December 2011, 03:44 PM
  2. EduGeek contact details
    By Dos_Box in forum General EduGeek News/Announcements
    Replies: 12
    Last Post: 8th October 2009, 10:25 PM
  3. Would you reveal your salary details?
    By cookie_monster in forum General Chat
    Replies: 18
    Last Post: 3rd May 2008, 11:45 AM
  4. Personal details of others on the net
    By danIT in forum General Chat
    Replies: 33
    Last Post: 1st September 2007, 08:20 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •