I just installed V1.1 RC1, and I'm having some trouble with the database configuration. It looks like it's changed from 1.0.1, although the dev-docs don't show the new setup. The config/db.php file is much shorter, and there are two new db.php files in folders "production" and "development."
Can anyone explain how to set up 3 database connections for development, test, and production (all MySQL)? Also, since there are new development and production folders, why no test or stage folders?
Should probably mention I'm getting "Class PDO not found" and Database_Exception Error depending on how I try to configure the database.
Thanks,
Mitchell
After a little more experimenting, I can get the "development" database on my local xampp server to work by putting the appropriate config info in app/config/development/db.php and setting the default 'type' to 'pdo' in app/config/db.php which seems a bit odd since the database is mysql.
If I change the default 'type' to 'mysql' in app/config/db.php, I get a "No database selected" error.
I still can't get the database configuration right for 'test' or 'production' modes.