错误提示: Error 500 CDbConnection.connectionString cannot be empty. 我用demo文件夹中的blog做的测试,已经导入了schema.mysql.sql到数据库 并且更改了main .php中的注释(如下),在Model Generator时报错Error500 'db'=>array( 'connectionString' => 'mysql:host=localhost;dbname=blog', 'emulatePrepare' => true, 'username' => 'root', 'password' => '', 'charset' => 'utf8', 'tablePrefix' => 'tbl_', ),
添加回答
举报
0/150
提交
取消