yii config main to connect to db