我想纯手工写个注册的代码,用mysql数据库,除了在配置文件main.php中写 
            'db'=>array(
'connectionString' => 'mysql:host=localhost;dbname=bolg',
'emulatePrepare' => true,
'username' => 'root',
'password' => '',
'charset' => 'utf8',
'tablePrefix' => 'tbl_'
   )
还需要写什么吗