Harro Verton wrote on Saturday 31st of March 2012:There is no need to modify the base config, it is merged with the environment config when used. So it should not contain any database, username or password, only some default values. Your development config looks ok, but as you haven't given any information, we can only guess what the issue is here. No PHP PDO driver installed? No PDO Mysql driver installed? Not using the development config but another environment? On a Mac that doesn't like "localhost" in the config? ...
/** * The development database settings. */ return array( 'default' => array( 'connection' => array( 'dsn' => 'mysql:host=localhost;dbname=stationwagon', 'username' => 'root', 'password' => 'root', ), ), /** * Base Database Config. * * See the individual environment DB configs for specific config information. */ return array( 'active' => 'default', /** * Base config, just need to set the DSN, username and password in env. config. */ 'default' => array( 'type' => 'pdo', 'connection' => array( 'persistent' => false, ), 'identifier' => '`', 'table_prefix' => 'sw_', 'charset' => 'utf8', 'caching' => false, 'profiling' => false, ), 'redis' => array( 'default' => array( 'hostname' => '127.0.0.1', 'port' => 6379, ) ), ); /** * Your environment. Can be set to any of the following: * * Fuel::DEVELOPMENT * Fuel::TEST * Fuel::STAGE * Fuel::PRODUCTION */ Fuel::$env = (isset($_SERVER['FUEL_ENV']) ? $_SERVER['FUEL_ENV'] : Fuel::DEVELOPMENT);
That is the same here, I can't remember how many Fuel installs I've rolled out the last year, and I never had issues. Having said that, I don't use a Mac, there's always something with them, and MAMP is high on the crap list. Other PHP apps in this same installation work fine? If your mysql socket file is not in the default place PHP expects it (which is probably the case on a Mac), you'll have to modify php.ini. Given the fact that you installed 5.3 manually, changes are that your php.ini doesn't contain a Mac specific config.david strada wrote on Sunday 1st of April 2012:I wish this will be like CI where you just put localhost or 127.0.0.1 db name pass and done!
It looks like you're new here. If you want to get involved, click one of these buttons!