开发者

says table doesn't exist

I have been using Yii with MAMP 开发者_运维知识库for the last week without problem. However, today, I set up a new project, created a database and tried to use Gii to create a new model but it's giving me a message "table name doesn't exist."

I have confirmed many times that such a table exists in PHP MY Admin. I also did a reinstall on MAMP and have the same problem

Can anyone see what the problem might be

says table doesn't exist

This is my database

This is my configuration in the Yii config file

'db'=>array(
            'connectionString' => 'mysql:host=localhost;port:8889;dbname=test1',
            'emulatePrepare' => true,
            'username' => 'root',
            'password' => 'root',
            'charset' => 'utf8',
        ),

says table doesn't exist


I'm a bit rusty, but ... case sensitivity? Are column and table name case sensitive in MySQL?

Screenshot also states that no tables were found in the test1 database.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜