checkVersion('2.0.0-dev'); $serviceContainer->setAdapterClass('default', 'mysql'); $manager = new \Propel\Runtime\Connection\ConnectionManagerSingle(); $manager->setConfiguration(array ( 'classname' => 'Propel\\Runtime\\Connection\\ConnectionWrapper', 'dsn' => 'mysql:host=localhost;dbname=catalog', 'user' => 'root', 'password' => '', 'options' => array ( 'ATTR_PERSISTENT' => false, ), 'attributes' => array ( 'ATTR_EMULATE_PREPARES' => false, ), 'settings' => array ( 'charset' => 'utf8', 'queries' => array ( ), ), )); $manager->setName('default'); $serviceContainer->setConnectionManager('default', $manager); $serviceContainer->setDefaultDatasource('default');