nicklec Posted May 26, 2010 Posted May 26, 2010 (edited) 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)? Edited May 26, 2010 by nicklec
nicklec Posted May 26, 2010 Author Posted May 26, 2010 Ok making progress... 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?
nicklec Posted May 26, 2010 Author Posted May 26, 2010 (edited) Changed credentials in /var/www/html/fog/commons/config.php and set schemaupdater/index.php to not create db.... nearly there Edited May 26, 2010 by nicklec
nicklec Posted May 26, 2010 Author Posted May 26, 2010 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?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now