Yii_显示SQL执行信息
'db'=>array( 2 'connectionString' => 'mysql:host=localhost;dbname=yef', 3 'emulatePrepare' => true, 4 'username' => 'root', 5 'password' => 'root', 6 'charset' => 'utf8', 7 'enableProfiling' => YII_DEBUG, 8 'enableParamLogging' => YII_DEBUG, 9 ), 'log'=>array( 'class'=>'CLogRouter', 'routes'=>array( array( 'class'=>'CFileLogRoute', 'levels'=>'error, warning', ), array( 'class'=>'CWebLogRoute', 'levels' => 'trace', 'categories' => 'system.db.*' ), ),